Get EDD Stats by Product
edd_get_stats_by_productObtain sales or earnings statistics broken down by individual product from your EDD store.
Instructions
Get earnings or sales statistics broken down by product
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": {
"type": "<type>"
},
"name": "edd_get_stats_by_product"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | Type of stats: sales (count) or earnings (revenue) | |
| productId | No | Specific product ID (omit for all products) |