- 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
Shipment (ASN) Status Push
POST
https://s.boxme.asia/webhook-url
Last modified:2024-05-09 01:52:38
Request
Header Params
Content-Type
string
optional
Example:
application/json
Authorization
string
optional
Example:
{{WEBHOOK_TOKEN}}
Body Params application/json
country
string
required
seller_id
integer
required
event_type
string
required
data
object
required
shipment_code
string
required
po_number
string
required
status
integer
required
status_name
string
required
received_time
integer
required
completed_time
integer
required
request_id
string
required
timestamp
integer
required
Example
{
"country": "VN",
"seller_id": 331529,
"event_type": "shipment.status.change",
"data": {
"shipment_code": "SM-VN-331529-24632598",
"po_number": "MY_TRACKING",
"status": 6,
"status_name": "Success",
"received_time": 1615442990,
"completed_time": 1616484318
},
"request_id": "65740c5ecb4eed8c37c8dc89",
"timestamp": 1702104158
}
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/webhook-url' \
--header 'Authorization: {{WEBHOOK_TOKEN}}' \
--header 'Content-Type: application/json' \
--data-raw '{
"country": "VN",
"seller_id": 331529,
"event_type": "shipment.status.change",
"data": {
"shipment_code": "SM-VN-331529-24632598",
"po_number": "MY_TRACKING",
"status": 6,
"status_name": "Success",
"received_time": 1615442990,
"completed_time": 1616484318
},
"request_id": "65740c5ecb4eed8c37c8dc89",
"timestamp": 1702104158
}'
Responses
🟢200Success
application/json
Body
object {0}
Example
{}
Modified at 2024-05-09 01:52:38