> ## Documentation Index
> Fetch the complete documentation index at: https://docs.apps.lute.co.in/llms.txt
> Use this file to discover all available pages before exploring further.

# Cancel Order

> Cancel a shipment with the courier partner.

# Cancel Order

Cancels a booked shipment. Shipdesk automatically calls the carrier cancellation API (Delhivery, Shadowfax, Xpressbees, or Ekart).

* The carrier is contacted first. If the carrier confirms cancellation (or if already cancelled), the local order status moves to `Cancelled`.
* If the carrier refuses cancellation (e.g. package already loaded on a delivery vehicle), the request fails with a `422 Unprocessable Entity` error detailing the carrier's response.

### Path Parameters

**id** `string` *required*

The unique order ID to cancel.

***

### Response Example

```json theme={null}
{
  "success": true,
  "data": {
    "id": "ORD-2026-9041",
    "status": "Cancelled",
    "awb": "129038102931",
    "message": "Shipment cancelled successfully with carrier"
  },
  "meta": {
    "timestamp": "2026-11-22T16:30:40.000Z",
    "request_id": "req_33918291"
  }
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.