> For the complete documentation index, see [llms.txt](https://api.documentation.omnicado.com/llms.txt)

# Cancel the label of an order

> DELETE /labels/order/{orderId}
> 
> Removes the label and the tracking from the order. The shipment is cancelled with the carrier for PPL, GLS, TopTrans, DPD SK, SPS, Alza and Allegro. For Packeta, DPD, WeDo and One by Allegro only the stored label is removed and the parcel stays registered with the carrier; cancel it in the carrier's administration.



## Servers
- Production API endpoint - live use only: api.services.omnicado.com/api/v2 (Production API endpoint - live use only)
- Development API endpoint - used for testing: api.dev.services.omnicado.com/api/v2 (Development API endpoint - used for testing)


## Authentication methods
- Omnicado token based scheme


## Parameters

### Path parameters

- **orderId** (integer)
  Omnicado order id




## Responses
### 200
Label cancelled

#### Body: application/json (object)
- **orderId** (integer)

- **cancelled** (boolean)


### 404
`order_not_found`, or `label_not_found` when there is no label to cancel

#### Body: application/json (object)
- **error** (string)

- **code** (string)
  Machine-readable reason, listed with each response


### 409
`already_departed`: the Alza shipment has already left

#### Body: application/json (object)
- **error** (string)

- **code** (string)
  Machine-readable reason, listed with each response


### 502
`carrier_error`

#### Body: application/json (object)
- **error** (string)

- **code** (string)
  Machine-readable reason, listed with each response



[Powered by Bump.sh](https://bump.sh)
