Creates a new order. An existing customer can be linked to the order by providing a customerId to the order.
The id of the location where the order is being created
"loc_123"
Items of the order. An order must have at least one item.
The id of the customer associated with the order.
"cust_123"
The delivery type of the order. An order can be delivered, collected at the restaurant to go or eaten in the restaurant
delivery, collection, eat_in "delivery"
The channel through which the order is being created
pos, whatsapp, uberEats, justEat, deliveroo "whatsapp"
an external reference for the order. Can be used to identify the order in an external system such as a POS system
"WA_ORDER_123"
Time at which the order is expected to be ready for collection / delivered depending on the service type
"2025-03-26T14:30:00Z"
Customer notes about the order in general
"Please ring the doorbell"
The delivery address for this order. You can provide an address or coordinates
Discounts applied to the order. An order can have multiple discounts.
Charges applied to the order. An order can have multiple charges.
Payments applied to the order. An order can have multiple payments.
Status of the order. The status is used to track the order and is automatically updated by the system.
received, in_preparation, awaiting_shipment, awaiting_collection, in_delivery, completed, rejected, cancelled, delivery_failed "accepted"
Order created successfully
Order ID
"order_123"
Creation date
"2024-03-15T14:00:00Z"
Short ID
"ABC123"
Order status
received, in_preparation, awaiting_shipment, awaiting_collection, in_delivery, completed, rejected, cancelled, delivery_failed "new"
Last update date
"2024-03-15T14:30:00Z"
Service type
delivery, collection, eat_in "delivery"
Order channel
"whatsapp"
Order reference
"WA_ORDER_123"
Expected delivery/collection time
"2024-03-15T14:30:00Z"
Confirmed delivery/collection time
"2024-03-15T14:30:00Z"
Customer notes
"Please ring the doorbell"
Collection code
"1234"
Delivery address
Total amount
Order items
Order deals
Order discounts
Order charges
Order payments
Customer information