Sales report
sales_reportAggregate Shopware sales for a period: orders, gross/net revenue, average order value, state/payment/channel breakdowns, timeline, top products, and prior-period comparison for performance reporting.
Instructions
Aggregate sales figures for a period straight from Shopware: order count, gross/net revenue, average order value, breakdowns by order/payment/delivery state, payment method, currency and sales channel, a revenue timeline (day/week/month) and the top-selling products. Use it for 'how did we do last month?' questions instead of paging through orders. compareWithPrevious adds the period of equal length before from and the change in orders and revenue. Defaults to the last 30 days, cancelled orders excluded. Returns one object.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "sales_report"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | End (inclusive; a date without time covers the whole day), ISO date. Default: now | |
| from | No | Start (inclusive), ISO date. Default: 30 days ago | |
| interval | No | Timeline bucket size | day |
| timeZone | No | IANA time zone, e.g. Europe/Berlin: date-only from/to and daily buckets become local days. Default: UTC | |
| topProducts | No | ||
| salesChannelId | No | Restrict to one sales channel | |
| excludeCancelled | No | ||
| compareWithPrevious | No | Also report the preceding period of equal length and the change |