Skip to main content
PUT
Cancel Order

Overview

Cancels an order at any status (except already completed/canceled) with a mandatory cancellation reason.

Path Parameters

string
required
Order’s payment_key (UUID)

Headers

string
required
Your API access token
string
required
Must be application/json

Body Parameters

integer
required
Cancellation reason ID (1-8) - see Cancel Reasons

Cancel Reasons

Response

boolean
true if successful
string
"OK" on success

Examples

Success Response (200)

Error Responses

When to Cancel

Key ingredient or menu item is unavailable.
Delivery address is invalid or cannot be located.
Restaurant is overwhelmed and cannot fulfill order.
Customer requested cancellation.
POS system or equipment failure.
Delivery address is outside service area.
Payment verification failed.
Any other reason not covered above.

Status Transition

Complete Workflow

Best Practices

Get Cancel Reasons

Fetch available cancellation reasons

Get Current Orders

View orders to cancel