Uscreen: Create coupon
uscreen_create_couponUscreen: New coupon code with a discount, target, limits and expiry. Creates the coupon in Marketing > Coupons. The code and the discount cannot be changed afterwards; a wrong code means deleting the coupon and creating a new one. The expiry only stops new redemptions and leaves discounts already applied. It changes what members pay, so it asks first. By default you confirm each call; you can switch that off for this tool. Reaches other people: confirm with the user before each call. Needs the user's Cotlet API key with access to this app.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | Letters and numbers only, no spaces. | |
| value | Yes | Percent off, or the fixed amount in the currency the coupon is denominated in. | |
| duration | No | Subscription coupons only: once, forever or repeating. Default: once. | |
| offer_ids | No | Plans, bundles or content it applies to. Not used with all_products. | |
| applies_to | Yes | all_products, subscription, bundles or content. | |
| expires_on | No | Last day the code can be redeemed. | |
| discount_type | Yes | fixed or percentage. | |
| duration_periods | No | Billing periods, when duration is repeating. | |
| redemption_limit | No | Most users who can redeem it. |