WooCommerce: Get top sellers
woocommerce_get_top_sellersRetrieve top-selling WooCommerce products by period or date range, using reports or privacy-safe order aggregation, and return aggregate product totals without customer PII.
Instructions
[UNIFIED] Get top selling products report. Uses WooCommerce reports when available and falls back to privacy-safe order aggregation when reports are empty/unavailable. Returns aggregate product totals only, never customer PII.
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_top_sellers"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | Yes | ||
| limit | No | ||
| period | No | week | |
| date_max | No | ||
| date_min | No | ||
| statuses | No | ||
| fallback_max_pages | No |