AffiliatesVersion: 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.
Authorizations
Authorizationstringheaderrequired
Bearer authentication header of the form Bearer <token>, where <token> is your access token.
Scope:
affiliate-manager. writeAuth methods:
OAuthPrivate IntegrationToken type:
Sub-Account TokenRequest
Headers
Versionstringrequired
API Version
Available options
v3Example:
v3Path Parameters
locationIdstringrequired
Location Id
Example:
ve9EPM428h8vShlRW1KTcampaignIdstringrequired
Campaign Id
Example:
6385d230f6d19db03eef6fb2affiliateIdstringrequired
Affiliate Id
Example:
63d376de11be1d26d38f7369Body
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.
Example:
trueResponse
Successful response
successbooleanrequired
Whether the action completed
Example:
truemessagestringrequired
Human readable outcome
Example:
Affiliate suspended successfully