Sales breakdown
hub_get_sales_breakdownOrder-by-order breakdown for a date range — the same rows as Reports → Sales Breakdown. One row per order AND per refund. Answers 'show me the orders from Saturday', 'which order had that big discount', 'how many refunds last month', 'sales per day'. The totals and dailyTrend in the reply cover the WHOLE date range, not just the returned page — quote them directly instead of adding up rows. For headline figures alone use get_financial_summary; this tool is for when the merchant wants to see the actual orders.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number, default 1 | |
| endDate | Yes | End of the window, ISO 8601. Inclusive of the day when a bare date is given | |
| outlets | No | Outlet ids to restrict to. Omit for all outlets | |
| pageSize | No | Rows per page, default 50 | |
| stations | No | Station ids to restrict to. Omit for all stations | |
| timezone | No | IANA timezone for the daily grouping, e.g. "America/Toronto". Defaults to the server timezone | |
| startDate | Yes | Start of the window, ISO 8601, e.g. "2026-08-01" or "2026-08-01T00:00:00Z" |