Create an order
Create an order in the client app. The order includes the name, table number, dish ids, any special requests, and when the order is scheduled for.
The order id, priority, and status properties in the response are used to triage orders to their prep stations and track their progress.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
The request body to create an order requires the following properties: dish_ids and name.
The name of the patron to display in the client app.
^[^\s]*$"John"
The list of unique dish ids included in an order.
The table number that should be associated with an order.
8
Indicates special requests for an order, like excluding an ingredient due to allergy.
Indicate the date and time an order should be ready. These orders fall outside the typical order flow as they may be orders for later in the day or for a future date.
Timestamp uses ISO 8601 format, Ex: 2025-04-05T14:55:03.824Z
null
Response
Order successfully created.
A unique alpha-numeric string generated by the system when creating a resource (e.g., dishes, ingredients, etc). Ids are required for retrieving the properties of a specific resource.
"674d0bf5c28b69001f8e03a1"
The date and time the resource was created. Timestamp uses ISO 8601 format, Ex: 2025-04-05T14:55:03.824Z
"2024-04-22T10:00:00Z"
The date and time the resource was last updated.
Timestamp uses ISO 8601 format, Ex: 2025-04-05T14:55:03.824Z
"2024-04-22T10:00:00Z"
The name associated with the order, which will appear in the KDS.
^[^\s]*$"John"
The table number that should be associated with an order.
8
The list of unique dish ids included in an order.
Indicates special requests for an order, like excluding an ingredient due to allergy.
The priority of an order. Defaults to 3 but can be changed as needed. Highest priority is 0, lowest is 5.
Orders will often be sorted by priority to ensure highest priority orders are prepared first.
0 <= x <= 5Indicate the date and time an order should be ready. These orders fall outside the typical order flow as they may be orders for later in the day or for a future date.
Timestamp uses ISO 8601 format, Ex: 2025-04-05T14:55:03.824Z
null
Indicates the status of the order preparation.
The expeditor will use this field to sort incoming orders and determine what dishes are ready to be prepared and assembled by station.
Draft, Received, In Progress, Ready for Assembly, On the Way, Ready for Pickup "Received"