Quick Commerce
Cancel Order
Cancel an existing order.
| Attribute | Value |
|---|---|
| Method / Path | POST /api/v3/clients/orders/cancel/ |
| Staging URL | https://dale.staging.shadowfax.in/api/v3/clients/orders/cancel/ |
| Auth | Authorization: Bearer <ACCESS_TOKEN> |
Cancellation window: Cancellation is permitted up to the point the rider enters the customer's delivery geofence (order status transitions to Arriving). Once the rider is inside the customer geofence, or the order has already been delivered, cancellation is rejected with an HTTP 400 error.
Request Payload
Code
| Field | Type | Required | Description |
|---|---|---|---|
request_id | string | Yes | AWB number of the shipment to cancel |
cancel_remarks | string | No | Free-text reason for cancellation |
Response
Code
Common Errors
| HTTP Status | Scenario |
|---|---|
| 400 | Cancel attempted after rider entered customer geofence / order delivered |
| 401 | Invalid or expired bearer token |
| 404 | request_id not found |
API Reference
Last modified on