notes/req-send-transaction.json
Ihar Hancharenka b19c7b4f84 m
2023-12-13 17:17:40 +03:00

257 строки
7.4 KiB
JSON

{
"order": {
"idempotentId": "string",
"cartId": "string",
"deviceInfo": {
"deviceId": "string"
},
"sellingChannel": "string",
"subTotal": "string",
"tax": "string",
"discountedPrice": "string",
"isDiscountedByLoyalty": true,
"orderCreatedAt": "string",
"offers": [
{
"offerCode": "string",
"offerId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"description": "string",
"offerAmount": "string",
"discountAmount": "string",
"quantity": 0,
"compCode": "string",
"isCompApplied": true,
"promocode": "string"
}
],
"certificates": [
{
"certicateNumber": "string",
"description": "string",
"discountAmount": "string",
"quantity": 0,
"compCode": "string",
"sku": "string",
"promocode": "string"
}
],
"items": [
{
"lineItemId": 0,
"posProductId": "string",
"menuId": "string",
"description": "string",
"priceType": "ORIGINAL",
"productId": "string",
"price": "string",
"quantity": 0,
"note": "string",
"childItems": [
{
"lineItemId": 0,
"posProductId": "string",
"menuId": "string",
"description": "string",
"priceType": "ORIGINAL",
"productId": "string",
"price": "string",
"quantity": 0,
"note": "string",
"modifierGroups": [
{
"description": "string",
"productId": "string",
"modifiers": [
{
"lineItemId": 0,
"posProductId": "string",
"menuId": "string",
"description": "string",
"priceType": "ORIGINAL",
"productId": "string",
"price": "string",
"quantity": 0,
"discountableQuantity": 0,
"discountedPrice": "string",
"isDiscountedByLoyalty": true,
"modifierGroups": [
null
],
"offers": [
{
"offerCode": "string",
"offerId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"description": "string",
"offerAmount": "string",
"discountAmount": "string",
"quantity": 0,
"compCode": "string",
"isCompApplied": true,
"promocode": "string"
}
],
"certificates": [
{
"certicateNumber": "string",
"description": "string",
"discountAmount": "string",
"quantity": 0,
"compCode": "string",
"sku": "string",
"promocode": "string"
}
]
}
]
}
],
"discountedPrice": "string",
"discountableQuantity": 0,
"isDiscountedByLoyalty": true,
"offers": [
{
"offerCode": "string",
"offerId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"description": "string",
"offerAmount": "string",
"discountAmount": "string",
"quantity": 0,
"compCode": "string",
"isCompApplied": true,
"promocode": "string"
}
],
"certificates": [
{
"certicateNumber": "string",
"description": "string",
"discountAmount": "string",
"quantity": 0,
"compCode": "string",
"sku": "string",
"promocode": "string"
}
]
}
],
"modifierGroups": [
{
"description": "string",
"productId": "string",
"modifiers": [
{
"lineItemId": 0,
"posProductId": "string",
"menuId": "string",
"description": "string",
"priceType": "ORIGINAL",
"productId": "string",
"price": "string",
"quantity": 0,
"discountableQuantity": 0,
"discountedPrice": "string",
"isDiscountedByLoyalty": true,
"modifierGroups": [
null
],
"offers": [
{
"offerCode": "string",
"offerId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"description": "string",
"offerAmount": "string",
"discountAmount": "string",
"quantity": 0,
"compCode": "string",
"isCompApplied": true,
"promocode": "string"
}
],
"certificates": [
{
"certicateNumber": "string",
"description": "string",
"discountAmount": "string",
"quantity": 0,
"compCode": "string",
"sku": "string",
"promocode": "string"
}
]
}
]
}
],
"discountedPrice": "string",
"discountableQuantity": 0,
"isDiscountedByLoyalty": true,
"offers": [
{
"offerCode": "string",
"offerId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"description": "string",
"offerAmount": "string",
"discountAmount": "string",
"quantity": 0,
"compCode": "string",
"isCompApplied": true,
"promocode": "string"
}
],
"certificates": [
{
"certicateNumber": "string",
"description": "string",
"discountAmount": "string",
"quantity": 0,
"compCode": "string",
"sku": "string",
"promocode": "string"
}
]
}
],
"fulfillment": {
"locationId": "string",
"pickupTime": "string"
},
"discount": {
"loyalty": {
"discountNumber": "string"
},
"offer": {
"discountNumber": "string"
},
"nationalOffer": {
"discountNumber": "string"
}
}
},
"offers": [
{
"id": "string",
"isRedeemed": true
}
],
"certificates": [
{
"certicateNumber": "string",
"description": "string",
"discountAmount": "string",
"isRedeemed": true
}
],
"transactionNumber": "string",
"emailAddress": "string",
"phoneNumber": "string",
"appliedTime": "2023-12-13T12:58:51.061Z",
"payments": [
{
"paymentId": "string",
"cardNumber": "string",
"paymentType": "CARD",
"paymentTime": "2023-12-13T12:58:51.061Z"
}
]
}