Create an affiliate coupon
rewardful_create_affiliate_couponAssign a coupon / promotion code to an affiliate so sales using it are credited to them. The code must match one defined in Stripe, and the affiliate's campaign must have a campaign coupon set in the dashboard. Rewardful: POST /v1/affiliate_coupons.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| token | Yes | The exact coupon / promotion code as defined in Stripe, e.g. MYCODE. | |
| affiliate_id | Yes | The affiliate's id (UUID). |