WooCommerce: Get customer report
woocommerce_get_customer_reportRetrieve WooCommerce customer counts and spending statistics for a site and period, with a fallback to the customer list when reports are unavailable.
Instructions
[UNIFIED] Get customer statistics report. Returns customer count and spending data. Falls back to customer list if reports endpoint unavailable.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"site": "<site>"
},
"name": "woocommerce_get_customer_report"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | Yes | ||
| period | No | week | |
| date_max | No | ||
| date_min | No |