Order Cancelation
Overview
Although validation helps prevent unfulfillable orders from being accepted, there are cases when an order needs to be canceled after acceptance.
DSP/Stream -> POS Cancelations
When a cancelation is initiated by the DSP or through Stream, you will receive an order.canceled event to the Handle Order (Stream -> POS) endpoint.
Example Event
{
"type": "order.canceled",
"object": {
"provider_id": "pos-order-123",
"location_id": "location-456"
}
}
Cancelation Best Practices
- Notify staff: Ensure kitchen staff are aware of canceled orders