affiliate_firstpromoter_get_earnings_summary
Summarize FirstPromoter earnings over a date range, with breakdowns by programme and transaction status. Get total earnings plus context such as oldest unpaid days for quick affiliate performance checks.
Instructions
Summarise earnings on FirstPromoter across a date window, with breakdowns by programme and by transaction status. Use this when the user wants a single-figure answer plus context — e.g. "total earnings in Q1 with status split". Returns an EarningsSummary including oldestUnpaidAgeDays; pair with list_transactions to drill into the underlying records.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"brand": "<brand>"
},
"name": "affiliate_firstpromoter_get_earnings_summary"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | ||
| from | No | ||
| brand | Yes | ||
| limit | No | ||
| cursor | No | ||
| status | No | ||
| maxAgeDays | No | ||
| minAgeDays | No | ||
| programmeId | No |