cargopanel logocargopanel for developers

Cancel Shipment

DELETEhttps://api.cargopanel.co/v1/carriers/cancel
DELETEhttps://sandbox-api.cargopanel.co/v1/carriers/cancel

Cancel an existing shipment using its ID.

This API requires a contract. Get in touch with cargopanel Support Team.

Request Fields

shipmentIdstringrequired

The ID of the shipment to be cancelled.

Request Body

The request body should be a JSON object containing the following structure:

{
  "shipmentId": "<string>"
}

Example Response

201
{
    "id": "...",
    "status": [
        {
            "status": "Canceled",
            "date": "2026-04-07T12:00:00.000Z",
            "milestone": "Canceled"
        }
    ]
}

Responses

201Shipment successfully cancelled
400Invalid request
401Unauthorized (invalid or missing token)
404Shipment not found
500Internal server error