We announce the release of a new API version aimed at providing convenience for our partners using the service.
{
"shipment_codes": ["SM-VN-331529-26869855"],
"estimate_arrival_time": 1713556203
}
curl --location --request POST 'https://s.boxme.asia/api/v2/sellers/shipments/booking/get-time-slots/' \
--header 'Authorization: Token {{API_TOKEN}}' \
--header 'Content-Type: application/json' \
--data-raw '{
"shipment_codes": ["SM-VN-331529-26869855"],
"estimate_arrival_time": 1713556203
}'
{
"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"
}