OrderCancellation
Schema
Who cancelled an order, why and when. See Order.cancellation.
Fields
- bystring
Who cancelled:
platform(on the delivery platform, including a customer or courier cancelling there),kitchen(the restaurant, in the Kitchen App) orsystem(Sous Chef). New values may be added. Absent on orders cancelled before Sous Chef recorded who cancelled. - reasonstring
Why the order was cancelled, as recorded for the cancelling party. When the kitchen cancelled, this is the kitchen's own reason label, for example
STORE_TOO_BUSY. Branch onreasonCode, not on this text. - reasonCodestring
Why the restaurant cancelled the order, as a code. Set when
byiskitchen, besidereason. Absent for a cancellation by the platform or by Sous Chef.Possible values: [itemOutOfStock, storeClosed, kitchenBusy, other] - atstring<date-time>
When the order was cancelled, ISO-8601 UTC.