- Overview
- Getting Started
- Authentication
- Q&A
- Common Errors
- API Call Flow
- Instant Order Flow
- Boxme's RTO and RPO
- Changelog
- API References
- Location
- Pickup
- Product
- Shipment (ASN)
- Customer
- Orders
- Order API Overview
- Error Codes
- Get Shipping Option (Fulfillment)POST
- Get Shipping Option (Dropship)POST
- Create B2C OrderPOST
- Create Delivery OrderPOST
- Create B2B OrderPOST
- Update DocumentPUT
- Request Cancel Delivery OrderPOST
- Cancel OrderPOST
- Get Order DetailGET
- Get Order ListGET
- Get Courier ListGET
- Get Courier ServiceGET
- Get Packed ItemsGET
- Order PackPUT
- Get B2B Pickup TimeSlotGET
- Returns
- Finance
- Location
- Webhooks
- Guidelines
Cancel Order
POST
https://s.boxme.asia/api/v2/orders/cancel/{tracking_number}/
Last modified:2024-08-20 14:25:26
Request
Path Params
tracking_number
string
required
Header Params
Content-Type
string
optional
Example:
application/json
Authorization
string
optional
Example:
Token {{API_TOKEN}}
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://s.boxme.asia/api/v2/orders/cancel//' \
--header 'Authorization: Token {{API_TOKEN}}' \
--header 'Content-Type: application/json'
Responses
🟢200OK
application/json
Body
data
null
required
error
boolean
required
Default:
false
error_code
enum<string>
Error code distinguishing reasons
Allowed values:
not_existscancellednot_allowed
messages
string
required
request_id
string
Request ID to get api call log.
Example
{
"data": null,
"error": false,
"error_code": "",
"messages": "",
"request_id": "1704262964"
}