Skip to main content
Version: 2023-02-21

Update Affiliate Referral Id

PUT 

/affiliate-manager/affiliate-campaign/:locationId/affiliate/:affiliateId/referral-id

Set the referral id an affiliate is tracked by on a campaign. The referral link is rebuilt around the new id, and the id must be unused across the location.

Request

Version stringrequired

API Version

Available options2023-02-21
locationId stringrequired

Location Id

affiliateId stringrequired

Affiliate Id

application/json

Bodyrequired

    campaignIdstringrequired

    Campaign the affiliate is enrolled in

    referralIdstringrequired

    New referral id. Must be unused across the location.

    Possible values: >= 3 characters and <= 64 characters, Value must match regular expression ^[A-Za-z0-9_]{3,64}$

application/json

Successful response

Schema
    referralIdstringrequired

    The referral id now stored for this affiliate

    referralLinkstringrequired

    Referral link carrying the new referral id

    campaignIdstringrequired

    Campaign the referral id belongs to