The guest order fulfillment status webhook sends a
message when a restaurant's kitchen moves an order from one stage in the
fulfillment process to the next stage. Updates from the guest order
fulfillment status webhook are only sent to the third-party online
ordering channel that the order was placed through. For example, Uber
Eats™ ordering service updates are only sent to Uber Eats, and
not to DoorDash™ or Grubhub™. For information on how
to enable ordering from third-party online ordering channels, see Managing orders from third-party online ordering channels.
Toast products and features that use guest order fulfillment statuses include:
A guest’s order progresses through various statuses during the
fulfillment process. The initial state of all orders is
RECEIVED. The guest order fulfillment status
webhook sends a message when the order’s status is updated to one of the
following statuses:
-
IN_PREPARATION: The order is being actively worked on. This status corresponds to the Active status in Orders Hub. -
READY_FOR_PICKUP: The order is ready for guest pickup. This status corresponds to the Order ready status in Orders Hub. -
CLOSED: The order is paid for and completed. This status corresponds to the Completed status in Orders Hub. If a closed order is reopened, this moves the order back to theIN_PREPARATIONstatus. -
VOIDED: The order is voided. This status does not correspond to a status in Orders Hub.
When an order transitions from the RECEIVED status to
either the IN_PREPARATION, READY_FOR_PICKUP,
CLOSED, or VOIDED status, the webhook sends a
message. Only one webhook message is sent per order transition. For
example, when an order has been approved and transitions to the
IN_PREPARATION status, the webhook sends a message. The
webhook service does not send a message when an order has been updated,
such as when an additional drink is added to the order.
|
Note |
|
The Kitchen Display System (KDS) must be configured and enabled to automatically mark KDS-fulfilled orders as Order Ready in Orders Hub. For more information, see Marking KDS-fulfilled orders as Order Ready. |
When an order is marked as Order Ready in
Orders Hub or is fulfilled by the Kitchen Display System (KDS), this
triggers the guest order fulfillment status webhook to send
a message. The message is sent to the third-party online ordering
channel that the order was placed through. For example, if a guest
places an order through DoorDash, the DoorDash driver is sent a message
notifying them that the guest’s order is now ready for pickup.
The attributes in the guestOrderStatusUpdated event’s
payload include:
| Value | Description |
|---|---|
|
|
The unique Toast platform identifier for the webhook event. data type: string |
|
|
The unique Toast platform identifier for the order. data type: string |
|
|
A unique Toast POS identifier for the restaurant. data type: string format: uuid |
|
|
The current status of a guest's order in the restaurant fulfillment process.
data type: string |
|
|
The date and time the order’s
data type: string format: date-time |
|
|
This value is null. |
Payload example for a guestOrderStatusUpdated event
{
"timestamp": "2023-11-09T18:06:59.394Z",
"eventCategory": "guest_order_status",
"eventType": "guestOrderStatusUpdated",
"guid": "796818ae-9687-44ba-9a93-949d5a2361f3",
"details": {
"eventGuid": "9cdcc8d4-87d7-481e-8d31-d0916c47b575",
"orderGuid": "465cd280-6890-41f5-8576-c7619634c56f",
"restaurantGuid": "f9b71aec-d452-4b35-927e-5e473161f10d",
"guestOrderStatus": "READY_FOR_PICKUP",
"lastUpdated": "2023-11-09T18:06:59.383Z",
"version": null
}
}