List purchases
list_purchasesRetrieve purchase records from a Kit account via OAuth, with filtering by date range, pagination, and account selection. Ideal for generating reports or analyzing sales.
Instructions
List purchases. Reads account data. Requires OAuth; API keys are not supported for this endpoint.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| after | No | ||
| before | No | ||
| account | No | Named private account from KIT_ACCOUNTS. Defaults to KIT_DEFAULT_ACCOUNT or the first configured account. | |
| per_page | No | ||
| all_pages | No | Read successive cursor pages, bounded by max_items (default 1000). Default false returns one API page. | |
| max_items | No | Maximum records when all_pages=true. A capped result reports truncation and its continuation cursor. | |
| include_total_count | No |