Transaction Details
Get the all the restaurant transaction details data for a specific business day
Endpoint URL
GET
/api/Sales/transactiondetails Authentication
This endpoint requires the X-Api-Key header for authentication.
Example: X-Api-Key 12345abcdef
Parameters
| Name | Type | Position | Description |
|---|---|---|---|
storeNumber |
integer (int32) | query | Restaurant number |
countryCode |
string | query | ISO Country code |
businessDay |
string (date) | query | Date with the “yyyy-MM-dd” format |
Responses
200 — OK
Media type: application/json
json
{
"success": true,
"message": "string",
"warnings": [
{
"title": "string",
"body": "string"
}
],
"storeNumber": 0,
"businessDay": "string",
"items": [
{
"orderKey": "string",
"products": [
{
"code": 0,
"level": 0,
"type": "string",
"description": "string",
"depositCode": 0,
"depositReturn": true,
"quantity": 0,
"totalPrice": 0.0,
"totalTax": 0.0,
"unitPrice": 0.0,
"unitTax": 0.0,
"category": "string",
"familyGroup": "string",
"dayPart": "string",
"tax": [
{
"id": 0,
"rate": 0.0,
"baseAmount": 0.0,
"amount": 0.0
}
],
"promotions": [
{
"promotionId": 0,
"offerId": 0,
"originalPrice": 0.0,
"discountAmount": 0.0
}
],
"packagingFees": [
{
"id": 0,
"description": "string",
"value": 0.0,
"refValue": 0.0,
"quantity": 0,
"tax": [
{
"id": 0,
"rate": 0.0,
"baseAmount": 0.0,
"amount": 0.0
}
]
}
]
}
],
"deposits": [
{
"id": 0,
"description": "string",
"value": 0.0,
"tax": [
{
"id": 0,
"rate": 0.0,
"baseAmount": 0.0,
"amount": 0.0
}
]
}
]
}
]
}