Create Promo Code
create_promo_codeCreate a coupon / discount / promo code (percent or fixed) that guests type at checkout, on a live event or an unclaimed draft. Use this when the host asks for a coupon or discount code. Provide either event_id, or draft_id + edit_token.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | ||
| enabled | No | ||
| draft_id | No | ||
| event_id | No | ||
| max_uses | No | ||
| starts_at | No | ||
| edit_token | No | ||
| expires_at | No | ||
| discount_type | Yes | ||
| discount_value | Yes | ||
| applicable_classes | No |