# Cancel a consignment

Cancels a consignment, taking any necessary actions on the carrier side

Endpoint: DELETE /_api/v1/company/{company_slug}/consignment/{shipmentIdentifier}/
Version: 1.0.0
Security: TokenAuth

## Path parameters:

  - `company_slug` (string, required)

  - `shipmentIdentifier` (string)
    Unique identifier for the consignment (shipment).

## Response 400 fields (application/json):

  - `detail` (string)
    Error message describing what caused the cancellation to fail.
    Example: "Cannot cancel shipment with status of \"Cancelled at 2025-05-02 09:00:00\""


## Response 204 fields
