Get revenue summary
get_revenue_summaryRetrieve revenue for a date range, grouped by product and sorted highest first, for one ThriveCart account. Provide a date range to avoid scanning all transactions.
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.
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. |