Cancellation

Cancellation API allows you to cancel the shipment in the carrier partner's system

Sample Response

{
    "meta": {
        "message": "SUCCESS",
        "success": true,
        "status": 600
    }
}
{
    "meta": {
        "message": "ORDER ALREADY CANCELLED",
        "success": true,
        "status": 600
    }
}
{
    "meta": {
        "message": "Invalid Waybill/ Waybill cannot be cancelled",
        "success": false,
        "status": 350
    }
}
{
    "meta": {
        "status": 351,
        "message": "Clickpost Account: Does not exist",
        "success": false
    }
}

Response

meta [meta parameters]

Field NameData TypeDescription
successBooleanIndicates the success of the API request
messageStringSUCCESS in case request was successfully processed by Clickpost, else returns error message.
statusHTTP CodeThe HTTP response status code of the API request
Language
Click Try It! to start a request and see the response here!