ghl_affiliate_update_suspension
Suspend or reinstate an affiliate on a campaign, cancelling pending and denied payouts, commissions, and transactions or returning cancelled items to pending.
Instructions
Update Affiliate Suspension Suspend or reinstate an affiliate on a campaign. Suspending cancels their pending and denied payouts, commissions and transactions; reinstating returns cancelled ones to pending. Endpoint: PUT /affiliate-manager/affiliate-campaign/{locationId}/campaign/{campaignId}/affiliate/{affiliateId}/suspension (Version header: v3; source: v3/affiliate-manager-v3.json) Requires a Sub-Account (location) token. OAuth scopes: affiliate-manager.write
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>",
"campaignId": "<campaignId>",
"affiliateId": "<affiliateId>",
"body": "<body>"
},
"name": "ghl_affiliate_update_suspension"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | Request body (schema carried verbatim from the official OpenAPI spec). | |
| campaignId | Yes | Campaign Id | |
| locationId | Yes | Location Id | |
| affiliateId | Yes | Affiliate Id |