Skip to main content
PUT
Update an Affiliate by ID

Authorizations

Authorization
string
header
required

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

Body

application/json

Affiliate update details

affiliateId
string
required

The ID of the affiliate

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
string

Status of the affiliate (active/inactive)

If set, adds a new affiliate link with this slug. Existing links are kept; this does not replace other affiliateLinks.

Response

Affiliate updated successfully

Last modified on September 14, 2024