Get EDD Stats by Date Range
edd_get_stats_by_dateRetrieve daily earnings or sales statistics for any date range. Choose between sales count or revenue totals.
Instructions
Get daily earnings or sales statistics for a custom date range
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>",
"startDate": "<startDate>",
"endDate": "<endDate>"
},
"name": "edd_get_stats_by_date"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | Type of stats: sales (count) or earnings (revenue) | |
| startDate | Yes | Start date in YYYYMMDD format (e.g., 20250101) | |
| endDate | Yes | End date in YYYYMMDD format (e.g., 20250131) |