Updates the specified affiliate by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
The affiliate's first name.
The affiliate's last name.
The affiliate's email address.
A string indicating the affiliate's state. Defaults to
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.
The UUID of the campaign this affiliate should be moved to. Learn more about moving affiliates between campaigns.
Whether or not the affiliate should receive emails when new rewards and commissions are earned. Accepts
curl --request PUT \--url https://api.getrewardful.com/v1/affiliates/d0ed8392-8880-4f39-8715-60230f9eceab \-u YOUR_API_SECRET: \-d first_name=Jamie \-d email=[email protected]