Cancel Shipment
DELETE
https://api.cargopanel.co/v1/carriers/cancelDELETE
https://sandbox-api.cargopanel.co/v1/carriers/cancelCancel an existing shipment using its ID.
This API requires a contract. Get in touch with cargopanel Support Team.
Request Fields
shipmentIdstringrequiredThe 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