Cancel Order API facilitates cancellation of an existing package/order. It comes under advance API integration, as order can be cancelled from CL Panel as well.
It is POST API call. It accepts the payload data in JSON format and also returns a response in JSON.
Key to cancel the package:
Allowed statuses to cancel a package
Manifested In Transit Pending Open Scheduled
Note:When an order is cancelled via the cancellation API the following conditions hold good for each type of package:
Prepaid / COD - Status of the package changes to "Returned". Pick Up - Status of the package changes to "Cancelled".
Test Environment URL
Production Environment URL