Function#
You can cancel the ancillary order through CancelAncillaryOrder API before AncillaryTicketing.Error Code List#
| errorCode | errorMsg |
|---|
| 0 | ok |
| B001 | Business exception |
| B002 | Partner does not exist. |
| B003 | Illegal sign. |
| P006 | Invalid parameter. |
| B182 | Invalid AncillaryOrderNum |
| B183 | The ancillary order has been canceled and please don't make duplicate cancellations. |
| B184 | Cancel failed due to invalid ancillary status |
Request
Body Params application/json
{
"authentication": {
"sign": "{{sign}}",
"partnerId": "{{partnerId}}"
},
"cancel": {
"ancillaryOrderNum": "917049521951368303"
}
}
Request Code Samples
curl --location 'https://api.pkfare.com/json/cancelAncillaryOrder' \
--header 'Content-Type: application/json' \
--data '{
"authentication": {
"sign": "",
"partnerId": ""
},
"cancel": {
"ancillaryOrderNum": "917049521951368303"
}
}'
Responses
application/json
{
"errorCode": "0",
"errorMsg": "ok"
}
Modified at 2026-07-28 06:01:28