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, for example a scheduled order that was never confirmed). New values may be added. Absent on orders cancelled before Sous Chef recorded who cancelled. - reasonstring
Why the order was cancelled, as reported by the cancelling party. When the kitchen cancelled, this is the reason it picked, which
reasonCodealso gives as a code. - reasonCodestring
Why the restaurant cancelled the order, as a code — set when
byiskitchen, beside the free-textreason. 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.