Get ASN Available Timeslot
POST
/api/v2/sellers/shipments/booking/get-time-slots/Last modified: 7 months ago
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
estimate_arrival_time
integer
required
Estimated datetime (Unix Timestamp) of arrival at the warehouse.
Example
{
"shipment_codes": [
"SM-VN-331529-26869855"
],
"estimate_arrival_time": 1713556203
}
Request samples
Responses
Success(200)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
data
array [object {3}]
required
label
string
required
time_slot_id
integer
required
out_of_working_time
boolean
required
error
boolean
required
error_code
string
required
messages
string
required
request_id
string
required
Example
{
"data": [
{
"label": "00:00 - 00:30",
"time_slot_id": 1713459600,
"out_of_working_time": true
},
{
"label": "00:30 - 01:00",
"time_slot_id": 1713461400,
"out_of_working_time": true
},
{
"label": "01:00 - 01:30",
"time_slot_id": 1713463200,
"out_of_working_time": true
},
{
"label": "01:30 - 02:00",
"time_slot_id": 1713465000,
"out_of_working_time": true
}
],
"error": false,
"error_code": "",
"messages": "",
"request_id": "661ceab8a922c2c1f916212b"
}
Last modified: 7 months ago