get_category_sales
Summarize sales by product category: revenue, units sold, and product count, filterable by channel and date range.
Instructions
依商品分類(Category)彙總銷售數據:各分類的營業額、銷量、商品數。需交叉 Categories API + Products + Orders。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| channel | No | 通路篩選 | all |
| end_date | Yes | 結束日期 YYYY-MM-DD。建議與 start_date 維持較短區間以加快查詢。 | |
| start_date | Yes | 起始日期 YYYY-MM-DD。⚠️ 本工具會逐頁掃描區間內所有訂單,區間越大越慢,請只查實際需要的最小區間(如單週或單月),避免一次查詢過長期間。 |