get_hotmart_sales_history
Retrieve sales history from your Hotmart account with filters like transaction status, date range, product ID, buyer name, and payment type. Get detailed JSON results for analysis.
Instructions
Get sales history from Hotmart account.
Args: transaction_status: Status da transação. Options: APPROVED, BLOCKED, CANCELLED, CHARGEBACK, COMPLETE, EXPIRED, NO_FUNDS, OVERDUE, PARTIALLY_REFUNDED, PRE_ORDER, PRINTED_BILLET, PROCESSING_TRANSACTION, PROTESTED, REFUNDED, STARTED, UNDER_ANALISYS, WAITING_PAYMENT max_results: Número máximo de itens por página (default: 50, max: 50) page_token: Cursor para paginação product_id: ID do produto (7 dígitos) start_date: Data inicial em milissegundos (timestamp desde 1970-01-01) end_date: Data final em milissegundos (timestamp desde 1970-01-01) sales_source: Código SRC da origem da venda transaction: Código único da transação (ex: HP17715690036014) buyer_name: Nome do comprador buyer_email: Email do comprador payment_type: Tipo de pagamento. Options: BILLET, CASH_PAYMENT, CREDIT_CARD, DIRECT_BANK_TRANSFER, DIRECT_DEBIT, FINANCED_BILLET, FINANCED_INSTALLMENT, GOOGLE_PAY, HOTCARD, HYBRID, MANUAL_TRANSFER, PAYPAL, PAYPAL_INTERNACIONAL, PICPAY, PIX, SAMSUNG_PAY, WALLET offer_code: Código da oferta commission_as: Como foi comissionado. Options: PRODUCER, COPRODUCER, AFFILIATE
Returns: JSON string containing sales history with detailed information
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| transaction_status | No | ||
| max_results | No | ||
| page_token | No | ||
| product_id | No | ||
| start_date | No | ||
| end_date | No | ||
| sales_source | No | ||
| transaction | No | ||
| buyer_name | No | ||
| buyer_email | No | ||
| payment_type | No | ||
| offer_code | No | ||
| commission_as | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |