Skip to main content
PUT
Update promotion ref_token for the promoter_campaign

Authorizations

Authorization
string
header
required

Your affiliate API key (Profile → API & AI tools in the affiliate dashboard), sent as Authorization: Bearer {api_key}

Headers

Account-ID
string
required

Account ID of the affiliate program, shown next to your API key under Profile → API & AI tools

Example:

"acc_123456"

Path Parameters

id
integer
required

The id of the promoter_campaign to be updated

Body

application/json
ref_token
string
required

The ref_token of the promoter_campaign's promotion

Response

Promoter campaign updated successfully

id
integer
campaign_id
integer
created_at
string<date-time>
campaign
object
state
string
Example:

"accepted"

promoter_id
integer
stats
object
coupon
object
display_coupon
object
ref_token
string
has_monetary_rewards
boolean
rewards_for_promoters
object[]
rewards_for_referrals
object[]
promo_codes
object[]
track_ad_traffic
boolean | null

Whether ad traffic tracking is enabled for this promoter campaign