create_coupon
Create a new coupon for your store by defining code, discount type, amount, and usage limits.
Instructions
Create a new coupon. Common fields: code, type (percentage|fixed), amount, minPurchase, maxDiscount, startDate, endDate, usageLimit, active.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | Fields for the new coupon. Common fields: code, type (percentage|fixed), amount, minPurchase, maxDiscount, startDate, endDate, usageLimit, active. Call get_coupon on an existing record to see the full shape. |