# Cancel a consignment

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

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

## Security:

  - `TokenAuth` (unknown)
    apiKey in header Authorization

## Path parameters:

  - `company_slug` (string, required)

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

## Response 204:

  - `204` (unknown)
    Consignment cancelled successfully.

## Response 400:

  - `400` (unknown)
    Cancellation request could not be carried out

## 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"

