Hotmart icon

Hotmart

Consume the Hotmart API

Sale → Get Summary

AI-generated

Summary

Retrieve aggregated sales summary data showing total commission values per currency filtered by optional date range and product ID.

Inputs

  • Filters — Optional filters to narrow the summary data, including Start Date (Unix timestamp in milliseconds), End Date (Unix timestamp in milliseconds), and Product ID.

Output shape

a single JSON object containing sales summary aggregated commission values per currency.

The operation returns a single summary object rather than a list, and filters with zero or empty values are ignored. The output can be used directly in workflows to analyze sales commissions aggregated by currency.

Examples

Example 1: Retrieve total commission summary for product ID 1234 from Jan 1, 2024 to Jan 31, 2024.

Set resource to "Sale", operation to "Get Summary", and provide filters with product_id=1234, start_date=1704067200000 (Jan 1, 2024), end_date=1706745599999 (Jan 31, 2024).

Links

Discussion