Get revenue summary
get_revenue_summaryRetrieve exact revenue totals for a date range, grouped by product and sorted highest first, for a single ThriveCart account. Specify dates to avoid exhaustive transaction scans.
Instructions
Revenue for a date range, grouped by product and sorted highest first, for one ThriveCart account. Walks every page of transactions, so it is the expensive call in this server, so give it a date range rather than asking for all time. Money is summed in integer cents, so the totals are exact. Figures cover one cart only; run it per account and never add the results together unless asked to.
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": "get_revenue_summary"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account | No | Which configured ThriveCart account to use, by name (for example 'navid-media'). Defaults to the first configured account. Call list_accounts to see them. Figures from one cart never include another. | |
| date_to | No | End date, inclusive. YYYY-MM-DD. | |
| date_from | No | Start date, inclusive. YYYY-MM-DD. |