Skip to main content
Version: v3

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 optionsv3
locationId stringrequired

Location Id

campaignId stringrequired

Campaign Id

affiliateId stringrequired

Affiliate Id

application/json

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.

application/json

Successful response

Schema
    successbooleanrequired

    Whether the action completed

    messagestringrequired

    Human readable outcome