v1

latestOpenAPI 3.0.3Apache 2.02026-07-2478177179.1 KB
Order API Grubtech Endpoints

Cancel Order

The Cancel Order endpoint enables the request to cancel an active order. Grubtech will process this request and either approve or reject it, depending on the order's current status.

post/{applicationId}/orders/{orderId}/cancel

Path parameters

applicationIdstring required

applicationId id provided by Grubtech to identify the integration.

orderIdstring required

order id

Request body

cancellationReasonstring required

order cancellation reason

canceledAtstring required

order cancellatation time

Example request

{
  "canceledAt": "2021-01-01T09:23:54.723Z"
}

Response

Successful response