Skip to main content
PUT
Update promotion ref_token for the promoter_campaign

Authorizations

Authorization
string
header
required

Access token passed as a Bearer token in the Authorization header

Headers

Account-ID
string
required

Account identifier that specifies which account is making the request

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