post https://api.orderout.co/api/channel/order/push
Send an order to OrderOut
example:
{
"destination": {
"restaurantId": "b6c5ead5-c8db",
"restaurantName": "Acme's Restaurant"
},
"payload": {
"customer": {
"customerName": "John Doe",
"phoneNumber": "15552221234"
},
"order": {
"deliveryCharge": 1.99,
"driverComp": 0,
"gratuity": 0,
"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": "",
"orderType": "PICKUP",
"payment": {
"status": "PAID"
},
"ready_by": "2024-05-29T12:50:36-0700",
"subtotal": 18.09,
"surcharge": 0,
"tax": 0.59,
"total": 18.68
}
},
"source": {
"additionalInfo": "",
"deliveryCompany": {
"name": "your-channel"
},
"orderNumber": "3954956c677d",
"placedOn": "2024-05-29T12:47:59-0700"
}
}