Skip to main content
PUT
Update an affiliate

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Fields to update

Identify the affiliate with either affiliateId or emailAddress.

affiliateId
string

The ID of the affiliate (required if emailAddress is not provided)

emailAddress
string<email>

The email of the affiliate (required if affiliateId is not provided)

firstName
string

First name of the affiliate

lastName
string

Last name of the affiliate

email
string<email>

Email of the affiliate

commissionRate
number<float>

Commission rate for the affiliate

affiliateStatus
enum<string>

Set the affiliate active or pending. Any other value falls back to the program's auto-approve setting.

Available options:
active,
inactive

Adds an additional referral link with this slug. Existing links are kept — this never renames or replaces them. Fails with 400 if the slug is already used in this program.

Response

The number of affiliate records that matched and were updated. count is 0 when no affiliate in this program matched.

count
integer

How many records matched the filter and were updated

Example:

1

Last modified on July 20, 2026