query_orders
Retrieve order summaries by date range, status, and channel. Filter by store and limit results for targeted analysis.
Instructions
依時間區間、訂單狀態、通路來源查詢訂單列表。回傳精簡的訂單摘要。
【呼叫的 Shopline API】
GET /v1/orders/search
GET /v1/orders
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| start_date | Yes | 起始日期 YYYY-MM-DD | |
| end_date | Yes | 結束日期 YYYY-MM-DD | |
| status | No | 訂單狀態篩選 | |
| channel | No | 通路篩選: online=線上官網, pos=實體門市, all=全部 | all |
| store_name | No | 門市名稱篩選(如:松菸誠品、新光A11) | |
| max_results | No | 最多回傳筆數 |