Sub-ID report
get_sub_id_reportGroups sell-order earnings by one to three sub-ID levels with cursor pagination. Fetches the next page by passing the returned after cursor, and requires the order's hex ID.
Instructions
Sell-order earnings grouped by up to three sub-ID levels (sub_id_1..3), cursor-paginated: pass the returned after to get the next page. Works for any format; needs the hex order id.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Sell order hex `id` (numeric id is not accepted here) | |
| isp | No | ISP names | |
| size | No | Rows per page (default and max 10000) | |
| after | No | Cursor from the previous page | |
| sub_ids | No | Sub-ID levels to group by | |
| date_end | No | Range end. RFC3339 (`2026-01-15T00:00:00Z`) or `2026-01-15`, UTC. Defaults to today. Max range 60 days, max lookback 90 days. | |
| platform | No | ||
| countries | No | ISO country codes, e.g. ["US", "DE"] | |
| mobile_os | No | Mobile OS names | |
| categories | No | Traffic categories | |
| date_start | No | Range start. RFC3339 (`2026-01-15T00:00:00Z`) or `2026-01-15`, UTC. Defaults to today. Max range 60 days, max lookback 90 days. | |
| desktop_os | No | Desktop OS names | |
| source_domains | No | Source (referrer) domains | |
| mobile_browsers | No | Mobile browser names | |
| desktop_browsers | No | Desktop browser names |