Update Affiliate
Updates an affiliate identified by affiliateId or emailAddress.
This endpoint returns a count of updated records, not the affiliate object. Call Get Affiliate(s) afterwards if you need the updated affiliate.
Sending affiliateLink adds another referral link to the affiliate — it does not rename or replace existing links. Use the affiliate link endpoints to rename or remove a link.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
Fields to update
Identify the affiliate with either affiliateId or emailAddress.
The ID of the affiliate (required if emailAddress is not provided)
The email of the affiliate (required if affiliateId is not provided)
First name of the affiliate
Last name of the affiliate
Email of the affiliate
Commission rate for the affiliate
Set the affiliate active or pending. Any other value falls back to the program's auto-approve setting.
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.
How many records matched the filter and were updated
1