v1

latestOpenAPI 3.0.3Apache 2.02026-07-2478177179.1 KB
POS Platform Order API Webhooks

Order Cancelled

This endpoint is used to send a Order Cancelled notification, once the status of an order is marked as cancelled on the Grubtech platform.

post/orders/{id}/cancelled

Path parameters

idstring required

Order id provided by GrubTech

Request body

reason'OUT_OF_ITEMS' | 'STORE_TOO_BUSY' | 'OTHER' required

Order cancellation reasons

notestring

Reason or note for cancellation

canceledAtstring required

Order cancellation time. Represented in ISO 8601 format.

Response

No Content