Update an affiliate
rewardful_update_affiliateChange an affiliate's name, email, payout emails, notifications, campaign (moves them) or state. Setting state to disabled stops tracking and earning; set it back to active to undo. Rewardful: PUT /v1/affiliates/:id.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| No | Email address. | ||
| state | No | Affiliate state. Disabled/suspicious affiliates stop tracking and earning and can't log in. | |
| last_name | No | Last name. | |
| first_name | No | First name. | |
| wise_email | No | Wise address commissions should be paid to. | |
| campaign_id | No | Campaign to put the affiliate in (default campaign if omitted on create). | |
| affiliate_id | Yes | The affiliate's id (UUID). | |
| paypal_email | No | PayPal address commissions should be paid to. | |
| stripe_customer_id | No | Customer-referral programs only: the live-mode Stripe customer that receives account credits. | |
| receive_new_commission_notifications | No | Email the affiliate when they earn a commission (default true). |