sales_summary
Generate sales summaries of orders, units, revenue, refunds, and net revenue grouped by day, week, month, quarter, category, product, or channel, with optional date bounds and totals.
Instructions
Orders, units, revenue, refunds and net revenue, grouped by time period or dimension.
start/end are inclusive YYYY-MM-DD dates; leave either out for no bound. Only completed orders count. Refunds are attributed to the original order's date. Weeks start on Monday. Includes a totals row with average order value.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | No | ||
| start | No | ||
| group_by | No | month |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||