Get Delivery Time Slots
Function
To get all kinds of delivery time slots of given delivery option with open API
透過open API獲取送貨方式的所有時段
URL
GET <<api_domain>>/v1/delivery_options/:delivery_option_id/delivery_time_slots
Request parameters
Path Param
Parameter | Value | Description | Example |
|---|---|---|---|
delivery_option_id |
| Delivery Option ID |
|
date |
| Date |
|
Response Fields
Field | Type | Description | Example |
|---|---|---|---|
items | Delivery Time Slot Data | Please check the link on the left |
Response Example
{
"items": [
{
"id": "62fb881a61f2d7003564cdc8",
"group_key": "572126",
"limit": 10,
"translations": {
"zh-hant": "AM9:00-AM10:00"
},
"weekday": 1,
"status": "active",
"created_at": "2022-08-16T12:05:46.216+00:00",
"updated_at": "2022-08-16T12:05:46.216+00:00",
"is_available": true
},
{
"id": "62fb881a61f2d7003564cdc9",
"group_key": "572126",
"limit": 10,
"translations": {
"zh-hant": "AM9:00-AM10:00"
},
"weekday": 2,
"status": "active",
"created_at": "2022-08-16T12:05:46.216+00:00",
"updated_at": "2022-08-16T12:05:46.216+00:00",
"is_available": true
}
]
}Delivery Option ID is shown in the url. (Refer to below picture)
Updated 1 day ago