Get details of an individual purchase
Documentation Index
Fetch the complete documentation index at: https://docs.subtotal.com/llms.txt
Use this file to discover all available pages before exploring further.
A connection-specific token with access scope
The client's API key secret value
Successful Response
The unique identifier for the purchase
"01J51S0JYV6N7K1030CV1ZKSCF"
The date and time of the purchase
"2024-01-01T00:00:00Z"
The total amount of the purchase
^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$"9.34"
The tax amount of the purchase
^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$"0.85"
The subtotal amount of the purchase
^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$"8.49"
The number of items in the purchase
1
The list of items in the purchase
[
{
"item_id": "01J51S0JYV6N7K1030CV1ZKSCA",
"price": "8.49",
"product": {
"brand": "diet-coke",
"description": "Diet Coke - 12pk/12oz cans",
"name": "Diet Coke 12pk",
"product_id": "01J51S0JYV6N7K1030CV1ZKSCB",
"upc": "049000028911"
},
"quantity": 1
}
]