Get Sales
hyros_get_salesFilter and retrieve sales records by date, email, lead ID, product tag, or recurring/refund status to monitor revenue, product sales, and refunds.
Instructions
Retrieve sales records filtered by date, email, lead ID, product tag, or recurring/refund status. Use this to check revenue, see what products sold, and track refunds.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ids | No | Comma-separated sale IDs (max 50) | |
| emails | No | Comma-separated emails to filter sales by (max 50) | |
| pageId | No | Pagination page ID | |
| toDate | No | End date in ISO 8601 format | |
| leadIds | No | Comma-separated lead IDs to filter sales by (max 50) | |
| fromDate | No | Start date in ISO 8601 format | |
| pageSize | No | Results per page (1-250) | |
| productTags | No | Comma-separated product tags to filter by (max 20) | |
| isRecurringSale | No | Filter by recurring status (default: ALL) | |
| saleRefundedState | No | Filter by refund status (default: ALL) |