Update affiliate
Updates the specified affiliate by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
Updates the specified affiliate by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
Request
Method
URL
PUT
https://api.getrewardful.com/v1/affiliates/:id
Parameters
Parameter
Required?
Description
first_name
No
The affiliate's first name.
last_name
No
The affiliate's last name.
email
No
The affiliate's email address.
state
No
stripe_customer_id
No
For customer referral programs, this is the Stripe Customer that will receive account credits as rewards. Note: the customer must exist in your Stripe account in livemode.
campaign_id
No
paypal_email
No
The PayPal address that commissions should be paid to.
wise_email
No
The Wise address that commissions should be paid to.
receive_new_commission_notifications
No
Whether or not the affiliate should receive emails when new rewards and commissions are earned. Accepts true
or false
.
Example
Response
Response code
Body
200
Last updated