- 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
- Get Shipping Option (Fulfillment)
- Get Shipping Option (Dropship)
- Create B2C Order
- Create Delivery Order
- Create B2B Order
- Update Document
- Request Cancel Delivery Order
- Cancel Order
- Get Order Detail
- Get Order List
- Get Courier List
- Get Courier Service
- Get Packed Items
- Order Pack
- Get B2B Pickup TimeSlot
- Returns
- Finance (Dev)
- Location
- Webhooks
Cancel ASN Booking
POST
https://s.boxme.asiaapi/v2/sellers/shipments/booking/cancel/{booking_id}/
Last modified:2024-04-16 06:37:15
Request
Path Params
booking_id
string
required
Example:
20529
Header Params
Authorization
string
required
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.asiaapi/v2/sellers/shipments/booking/cancel/20529/' \
--header 'Authorization: Token {{API_TOKEN}}'
Responses
🟢200OK
application/json
Body
data
object
required
shipment_code
string
required
status
integer
required
status_name
string
required
booking_id
integer
required
booking_status
string
required
error
boolean
required
error_code
string
required
messages
string
required
request_id
string
required
Example
{
"data": {
"shipment_code": "SM-VN-331529-26869855",
"status": 12,
"status_name": "Awaiting Reservation",
"booking_id": 20562,
"booking_status": "Cancelled"
},
"error": false,
"error_code": "Cancel booking successfully",
"messages": "",
"request_id": "661ced43e6e933393d81392a"
}
Modified at 2024-04-16 06:37:15