Cancel Order
POST
/open/1.0/shipment/cancel/{tracking_number}Last modified: 4 months ago
The Cancel Shipment endpoint allows you to cancel a shipment that has already been created in our system
Response Status Code
Status Code | Description |
---|---|
200 | Success Cancel Order |
400 | Can't Cancel Order |
400 | Order Has Been Cancel |
401 | API Key is Required |
401 | API Key is Invalid |
404 | Order Not Found |
Request
Path Params
tracking_number
string
required
Example:
OEX1133037
Header Params
X-API-KEY
string
optional
Example:
{{ApiKey}}
Request samples
Responses
401 - Api Key is required(401)
401 - Api Key is invalid(401)
404 - Not Found(404)
200 - Success Cancel Order(200)
400 - Cannot Cancel Order(400)
400 - Order has been canceled(400)
401 - Api Key is required
HTTP Code: 401
Content Type : JSONapplication/json
Data Schema
data
string
required
message
string
required
error_code
integer
required
Example401 - Api Key is required
{
"data": "",
"message": "Api Key is required",
"error_code": 0
}
Last modified: 4 months ago