Customer report
customer_reportGenerates Shopware customer figures for a chosen period, including new accounts, distinct buyers, repeat and guest order shares, and top customers by gross revenue; optionally compares prior period.
Instructions
Customer figures for a period straight from Shopware: new accounts (registered vs guest, by customer group), how many distinct customers ordered, the repeat share (two or more orders in the period), the guest order share and the top customers by gross revenue with their share of the total. compareWithPrevious adds the period of equal length before from and the change. 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": "customer_report"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | End (inclusive; a date without time covers the whole day). Default: now | |
| from | No | Start (inclusive), ISO date. Default: 30 days ago | |
| topCustomers | No | ||
| salesChannelId | No | Restrict to one sales channel | |
| excludeCancelled | No | ||
| compareWithPrevious | No | Also report the preceding period of equal length and the change |