get_sales_summary
Retrieve sales summary metrics (revenue, orders, average order value, discounts) for a date range. Filter by channel or store to analyze performance.
Instructions
取得指定時間區間的銷售摘要:營業額、訂單數、客單價、件單價、折扣總額等核心指標。支援依通路/門市篩選。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | No | 訂單狀態 | completed |
| channel | No | 通路篩選 | all |
| end_date | Yes | 結束日期 YYYY-MM-DD。建議與 start_date 維持較短區間以加快查詢。 | |
| start_date | Yes | 起始日期 YYYY-MM-DD。⚠️ 本工具會逐頁掃描區間內所有訂單,區間越大越慢,請只查實際需要的最小區間(如單週或單月),避免一次查詢過長期間。 | |
| store_name | No | 門市名稱篩選 |