hotmart_sales_history_list
List individual Hotmart sales transactions with filters for product, buyer, date range, and status. Use for detailed sales history.
Instructions
Sales History. Example: hotmart_sales_history_list(max_results=10). Don't use this for aggregated metrics — use hotmart_sales_summary_list for totals/counts.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| max_results | No | Max results per page | |
| page_token | No | Pagination token for the next page | |
| product_id | No | Product ID | |
| start_date | No | Start date. Unix timestamp in **milliseconds** (not seconds, not ISO). Ex: `1730419200000` = 2024-11-01 00:00 UTC. Python: `int(datetime(2024,11,1).timestamp() * 1000)`. | |
| end_date | No | End date. Unix timestamp in **milliseconds** (not seconds, not ISO). Ex: `1730419200000` = 2024-11-01 00:00 UTC. Python: `int(datetime(2024,11,1).timestamp() * 1000)`. | |
| sales_source | No | Sale source | |
| transaction | No | Transaction code | |
| select | No | Custom field selection in response | |
| buyer_name | No | Buyer name | |
| buyer_email | No | Buyer email | |
| offer_code | No | Offer code. Format: alphanumeric Hotmart code (ex: `H123A4B5`, not UUID, not int) | |
| commission_as | No | Authenticated user's commission role. Allowed values: 'PRODUCER', 'COPRODUCER', 'AFFILIATE' | |
| transaction_status | No | Transaction status. | |
| payment_type | No | Payment type. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |