PUT
/
affiliates
Update an Affiliate by ID
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>",
  "affiliateLink": "<string>"
}'
This response does not have an example.

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

Commission rate for the affiliate

affiliateStatus
string

Status of the affiliate (active/inactive)

Custom affiliate link for the affiliate

Response

Affiliate updated successfully