get_delivery_time_slots
Retrieve available time slots for a delivery option to confirm reservation periods or analyze customer delivery time preferences.
Instructions
取得指定配送方式的可用時段清單。
【用途】 查詢特定配送方式的預約時段設定,例如到府配送的時間選項。 適合確認預約配送時段或分析客戶配送時段偏好。
【呼叫的 Shopline API】
GET /v1/delivery_options/{delivery_option_id}/time_slots
【回傳結構】 dict 含 delivery_option_id, total, time_slots[]。 每個 time_slot 包含 id, day, start_time, end_time, enabled 等。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| delivery_option_id | Yes |