PUT
/
affiliates
curl --request PUT \
  --url https://www.pushlapgrowth.com/api/v1/affiliates \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "affiliateId": "<string>",
  "firstName": "<string>",
  "lastName": "<string>",
  "email": "jsmith@example.com",
  "commissionRate": 123,
  "affiliateStatus": "<string>"
}'
This response has no body data.

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 of the affiliate

commissionRate
number

Commission rate for the affiliate

affiliateStatus
string

Status of the affiliate (active/inactive)