Cancel Shipment

Cancel shipment from the user side.

The cancel shipment endpoint notifies us of your intention to cancel a shipment, but it doesn't immediately cancel the shipment. It's important to note that canceling a shipment after it has been assigned can be more complex and may incur additional fees. Be mindful of this when initiating a cancellation request.

Requests

Parameter

The request includes a parameter called reference, where you specify the reference of the shipment you wish to cancel. For example, use the following endpoint format:

https://delivery-staging.apiideraos.com/api/v2/token/shipment/cancel/{reference}

Replace {reference} with the actual shipment reference you received after booking the shipment. This reference is required to accurately identify and process your cancellation request.

Request Sample

curl --location 'https://delivery-staging.apiideraos.com/api/v2/token/shipment/cancel/epbip57hgvo0' \
--header 'Authorization: Bearer Secret Key'

Response Sample

{
    "data": null,
    "status": false,
    "message": "Shipment with reference - epbip57hgv not found",
    "status_code": 404
}

Last updated