Order - Payload
Payload Example
{
"order_code": "string",
"partner_id": "string",
"branch_number": "string",
"delivery_fee": "string",
"order_date": "YYYY-MM-DDTHH:mm:ss",
"order_type": "DELIVERY | COLLECTION | DINE-IN",
"disposables": {
"straw": "true | false",
"cutlery": "true | false",
"serviettes": "true | false"
},
"customer": {
"integration_id": "string",
"full_name": "string",
"email": "string",
"dialing_code": "string",
"cell_number": "string",
"delivery_ddress": {
"instructions": "string",
"full_address": "string",
"lon": "string",
"lat": "string"
}
},
"instructions": "string",
"order_items": [
{
"integration_id": "string",
"pos_code": "string",
"pid": "string",
"sku": "string",
"title": "string",
"price": 0,
"quantity": 0,
"instructions": "string",
"tax_code": "string",
"options": [
{
"integration_id": "string",
"pos_code": "string",
"pid": "string",
"sku": "string",
"title": "string",
"price": 0,
"quantity": 0,
"instructions": "string",
"tax_code": "string"
}
]
}
],
"payments": [
{
"payment_method": "string",
"amount": 0,
"reference": "string"
}
],
"discounts": [
{
"discount": 0,
"reference": "string",
"description": "string"
}
]
}Notes
Last updated