query_orders
Search orders by date range, status, and channel source. Returns concise summaries for quick order review and management.
Instructions
依時間區間、訂單狀態、通路來源查詢訂單列表。回傳精簡的訂單摘要。
【呼叫的 Shopline API】
GET /v1/orders/search
GET /v1/orders
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | No | 訂單狀態篩選 | |
| channel | No | 通路篩選: online=線上官網, pos=實體門市, all=全部 | all |
| end_date | Yes | 結束日期 YYYY-MM-DD。建議與 start_date 維持較短區間以加快查詢。 | |
| start_date | Yes | 起始日期 YYYY-MM-DD。⚠️ 本工具會逐頁掃描區間內所有訂單,區間越大越慢,請只查實際需要的最小區間(如單週或單月),避免一次查詢過長期間。 | |
| store_name | No | 門市名稱篩選(如:松菸誠品、新光A11) | |
| max_results | No | 最多回傳筆數 |