Get transactions
get_transactionsRetrieve ThriveCart transactions by date range or product name. Use item_name for reliable filtering and fetch_all to walk every page for complete figures.
Instructions
Get transactions from a ThriveCart account, with optional date and product-name filtering. ThriveCart's own product_id filter is unreliable and silently returns rows for other products, so filter with item_name instead, which is a case-insensitive contains match on the product name. Set fetch_all only when you need complete figures; it walks every page.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number. Ignored when fetch_all is true. | |
| status | No | ThriveCart transaction status filter. | |
| 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. | |
| per_page | No | Results per page, 1-100. Defaults to 25. Ignored when fetch_all is true. | |
| date_from | No | Start date, inclusive. YYYY-MM-DD. | |
| fetch_all | No | Walk every page instead of returning one. Use for complete figures; it costs one request per 100 transactions. | |
| item_name | No | Filter by product name, case-insensitive contains match. |