Update Affiliate Suspension
PUT/affiliate-manager/affiliate-campaign/:locationId/campaign/:campaignId/affiliate/:affiliateId/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.
Request
Version stringrequired
API Version
Available options
v3locationId stringrequired
Location Id
campaignId stringrequired
Campaign Id
affiliateId stringrequired
Affiliate Id
- application/json
- Body
- Example (auto)
Bodyrequired
isSuspendedbooleanrequired
Whether the affiliate is suspended on this campaign. Suspending cancels their pending and denied payouts, commissions and transactions; unsuspending returns cancelled ones to pending.
{
"isSuspended": true
}
Successful response
- application/json
- Schema
- Example (auto)
Schema
successbooleanrequired
Whether the action completed
messagestringrequired
Human readable outcome
{
"success": true,
"message": "Affiliate suspended successfully"
}