get_orders_summary
Get a period-scoped order summary with exact total count, revenue, average order value, and status distribution for a date range.
Instructions
Period-scoped order summary: exact totalCount for the date range plus revenue, average order value, and status distribution aggregated over up to max_pages×100 orders (partial:true if the window exceeds that).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date_to | Yes | End date for the summary period (YYYY-MM-DD) | |
| date_from | Yes | Start date for the summary period (YYYY-MM-DD) | |
| max_pages | No | Pages of 100 orders to aggregate (revenue/status are computed over this window; the count is always exact) | |
| filter_status | No | Restrict the summary to a single status code |