Page cover

Cancel Code

Fetch Cancel Codes

GET /order/client/tieup/cancel-code/list

Headers

Name
Type

Content-Type

application/json

Authorization

Bearer <token>

key-id

<client_secret_code>

Query Parameter

Name
Type

clientId

String

Response

{
    "status": true,
    "message": "Cancel Code List Fetched Successfully",
    "data": [
        {
            "id": 1,
            "reason": "VEHICLE NOT STARTED",
            "clientRefId": 1 // This needs to be used while cancelling the order
        },
        {
            "id": 3,
            "reason": "HIGH CHARGES",
            "clientRefId": 3 // This needs to be used while cancelling the order
        }
    ]
}

Last updated