create_coupon
Create a coupon code attributed to a partner in an affiliate program, with a preview-and-confirm step to review details before the coupon is saved.
Instructions
Create a coupon code that attributes to a partner. Write: the first call returns a preview and a confirmToken; call again with confirm: true and that token to do it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | ||
| confirm | No | Set true, with confirmToken, to perform the change shown in the preview. | |
| partnerId | Yes | ||
| programId | Yes | ||
| confirmToken | No | The token a preview returned. |