Sales report
sales_reportCalculates exact WooCommerce sales figures for a date range—orders, gross/net sales, refunds, tax, AOV, top products/customers, and daily totals.
Instructions
Exact sales figures for a date range, calculated from the orders: order count, gross and net sales, refunds, discounts, shipping, tax, average order value, items sold, sales by day, top products, top customers, payment methods and cities. Counts completed, processing and on-hold orders unless statuses are given. Up to 2,000 orders.
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 date YYYY-MM-DD, inclusive (default: today) | |
| from | No | Start date YYYY-MM-DD (default: first day of this month) | |
| statuses | No | Order statuses to count |