Create ASN Booking
POST
/api/v2/sellers/shipments/booking/create/Last modified: 8 months ago
Schedule a ASN to warehouse based on available timeslot
Request
Header Params
Authorization
string
required
Example:
Token {{API_TOKEN}}
Content-Type
string
optional
Example:
application/json
Body Params application/json
shipment_codes
array[string]
required
List of ASN to bookings
time_slot_id
integer
required
Call: Get ASN Available to get slot
Example
{
"shipment_codes": [
"SM-VN-331529-26869855"
],
"time_slot_id": 1713582000
}
Request samples
Responses
Success(200)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
data
array [object {7}]
required
shipment_code
string
optional
status
integer
optional
status_name
string
optional
booking_id
integer
optional
booking_status
string
optional
time_slot_id
integer
optional
out_of_working_time
boolean
optional
error
boolean
required
error_code
string
required
messages
string
required
request_id
string
required
Example
{
"data": [
{
"shipment_code": "SM-VN-331529-26869855",
"status": 2,
"status_name": "Ready to ship",
"booking_id": 20561,
"booking_status": "Delivering",
"time_slot_id": 1713465000,
"out_of_working_time": true
}
],
"error": false,
"error_code": "",
"messages": "",
"request_id": "661ceaffa922c2c1f916212c"
}
Last modified: 8 months ago