Cancels a package before it is picked up. Provide exactly one of id, barcode, or invoice. Only packages still pending customer-care approval or dispatcher assignment can be cancelled; anything further along must go through the help center.
Request
Authorization
API Key
Add parameter in header
X-API-Key
Example:
X-API-Key: ********************
or
API Key
Add parameter in header
X-API-Key
Example:
X-API-Key: ********************
or
Query Params
Responses
🟢200
Package cancelled
This response does not have a body.
🟠400
🟠401
🟠403
🟠404
Request Request Example
Shell
JavaScript
Java
Swift
curl--location--request PUT 'https://apisv5.logestechs.com/api/secure/integration/packages/cancel?id=&barcode=&invoice=' \
--header'X-API-Key: <api-key>'