Cancel Order

The Cancel Order endpoint is used to mark an order as canceled within the Order Status Update API. It signifies that the order is no longer active and should not proceed further in the workflow. Typically, this action is initiated when the customer, merchant, or platform cancels the order for various reasons such as stock unavailability, customer request, or other issues. Upon a successful request to this endpoint, the order status is updated to reflect the cancellation, and any further actions related to the order (e.g., preparation, delivery) are stopped.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

Integration service id. This will be provided by Grubtech.

string
required

Order id provided by GrubTech

Body Params

Order cancellation information

string
enum
required

Order cancellation reasons

Allowed:
string

Reason or note for cancellation

Responses
204

Successful response OK

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json