Create coupons
create_couponsMUTATES Memberful data: create one or more coupon codes for a discount. Provide the discount id (discountId) and the coupon code strings. Memberful GraphQL: createCoupons(discountId, coupons).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| codes | Yes | Coupon code strings to create (at least one, required). | |
| discountId | No | The discount id to attach the coupons to. |