v1

latestOpenAPI 3.0.3Apache 2.02026-07-2478177179.1 KB
Order

This endpoint allows an order to be cancelled on the Grubtech platform.

post/{applicationId}/orders/{id}/cancel

Path parameters

applicationIdstring required

Application ID provided by GrubTech to identify the integration

idstring required

Order id provided by aggregator platform.

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