Cancel Order
POSThttps://api.uber.com/v1/eats/orders/{order_id}/cancel
This endpoint allows a developer to cancel live orders by their UUID. If the order is already in a terminal state, or the order never existed, then this endpoint will return a 404.
Note the developer account may only read from restaurants with which it is affiliated in the restaurant’s “Users” list in Uber Eats Manager.
¶ Authorization
OAuth 2.0 Bearer token with the eats.order
or eats.deliveries
scopes. For more information, see Authentication.
¶ Path Parameters
Name | Type | Description |
---|---|---|
order_id |
string |
Unique identifying string for an order on Uber Eats |
¶ Request Parameters
Name | Type | Description |
---|---|---|
reason |
string enum |
The reason for canceling the order. Allowed values:
CUSTOMER_CALLED_TO_CANCEL |
details |
string (optional) |
Reason if OTHER above is selected. |
cancelling_party |
string enum |
The party responsible for canceling the order. This field is only used for Uber Direct. Allowed values:
|
¶ Response Parameters
Empty response body
¶ Request Example
curl -X POST \
-H 'authorization: Bearer YOUR_TOKEN' \
-H 'Content-Type: application/json' \
-d '{"reason":"CANNOT_COMPLETE_CUSTOMER_NOTE","details":"note is impossible"}' \
https://api.uber.com/v1/eats/orders/3206c818-6008-42e8-8e2f-f87048ff7c1c/cancel
¶ Response Example
HTTP/2 200
{}