Skip to main content
PUT
Updates a referral link

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

ID of the referral link to update

Body

application/json
sub_id
string

Sub id

name
string

Name

Response

Updated referral link

id
integer | null
name
string
url
string
is_default
boolean | null
source
enum<string>
Available options:
campaign,
promoter
sub_id
string | null
campaign
object