Order Payload Example
{
"destination": {
"storeId": "b6c5ead5-c8db" # The Channel merchant/restaurant/store ID
},
"payload": {
"customer": {
"customerName": "John Doe",
"phoneNumber": "15552221234",
"customerEmail": "[email protected]",
"streetName": "Av 1",
"zipCode": "90001",
"city": "Los Angeles",
"state": "CA",
"deliveryNotes": ""
},
"order": {
"orderType": "DELIVERY",
"ready_by": "2024-05-29T12:50:36-0700",
"thirdPartyManagedDelivery": true,
"ooServiceFee": 1.99,
"merchantOrderFee": 0.00,
"subtotal": 18.09,
"staffTip": 0.00,
"discount": 0.00,
"tax": 0.59,
"deliveryFee": 5.67,
"driverTip": 1.50,
"total": 27.84,
"payment": {
"status": "PAID",
"mode": "CREDIT_CARD"
},
"delivery": { # Optional, in case this order should automatically trigger a delivery order as well: https://developers.orderout.co/reference/delivery-create-order#/
"quote_id": 123 # This id can be obtained by one of the quotes in the list provided in: https://developers.orderout.co/reference/delivery-get-quotes#/
},
"items": [
{
"id": "item_id_1",
"modifiers": [
{
"id": "modifier_id_1",
"name": " Brioche Bun",
"price": 4.20,
"quantity": 1
}
],
"name": "Meat Burger Sandwich",
"note": "Medium-Rare please",
"price": 11.90,
"quantity": 1,
"total": 11.90
}
],
"orderNotes": ""
}
},
"source": {
"additionalInfo": "",
"orderNumber": "3954956c677d",
"placedOn": "2024-05-29T12:30:01-0700",
},
}Updated 1 day ago
