Skip to main content
Version: v4New

Update Affiliate Suspension

PUT 

/affiliate-manager/affiliate-campaign/campaign/:campaignId/affiliate/:affiliateId/suspension

Suspend or reinstate an affiliate within a campaign.

Request​

Version stringrequired

API Version

Available optionsv4
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.

    locationIdstringrequired

    Location Id

application/json

Successful response

Schema
    successbooleanrequired

    Whether the action completed

    messagestringrequired

    Human readable outcome