{
"header": {
"orgShortName": "{{OrgShortName}}",
"locRef": "{{LocRef}}",
"rvcRef": {{RvcRef}},
"idempotencyId": "{{$guid}}",
"orderTypeRef": 9,
"checkEmployeeRef": {{check_employee_ref}}
},
"menuItems": [
{ "menuItemId":1001001, // Whopper ALC
"definitionSequence": 1,
"quantity": 1
}
],
"tenders": [
{
"tenderId": 901
}
],
"discounts" : [
{
"discountId": 104, // PLU for the cart level amount discount
"referenceText": "Reward 1234",
"total": 10 // the amount that you are discounting. 10 euros off. We can send whatever amount we want
}
]
} |