ghl_affiliate_commission_list
Retrieve and filter affiliate commissions for a specific location by status, date range, affiliate, or campaign, using skip/limit pagination to page through results.
Instructions
List Commissions Retrieve the list of commissions for a location. Endpoint: GET /affiliate-manager/{locationId}/commissions (Version header: v3; source: v3/affiliate-manager-v3.json) OAuth scopes: affiliate-manager.readonly Pagination params: skip, limit — pass them to page through full result sets.
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": {
"locationId": "<locationId>"
},
"name": "ghl_affiliate_commission_list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| skip | No | Number of records to skip for pagination | |
| limit | No | Maximum number of records to return. Maximum allowed value is 100. | |
| query | No | Query | |
| status | No | Status | |
| toDate | No | Filter commissions created on or before this date (YYYY-MM-DD) | |
| fromDate | No | Filter commissions created on or after this date (YYYY-MM-DD) | |
| campaignId | No | Campaign Id | |
| locationId | Yes | Location Id | |
| affiliateId | No | Affiliate Id |