v1
latestOpenAPI 3.1.0Proprietary2026-07-24660315.0 KBCreate Coupon
Create a coupon that can be applied when a guest is registering for an event. Restrict it to a ticket type with event_ticket_type_id — when that ticket type is hidden, this creates an unlock (access) code. You are not able to edit the coupon terms after it has been created.
Request body
This is the code that the user will enter on the event page. It is not case sensitive. Maximum 20 characters.
Number of times the coupon can be used. Set to 1000000 for unlimited uses.
ISO 8601 Datetime. For example, 2022-10-19T03:27:13.673Z
ISO 8601 Datetime. For example, 2022-10-19T03:27:13.673Z
Event ID, this usually starts with evt-
Optional. Restrict the coupon to a single ticket type. If that ticket type is hidden, the coupon acts as an unlock (access) code that reveals the ticket during registration. Pair a hidden ticket type that has Require Approval turned off with an unlock code to let invited guests register and pay directly, skipping the Apply to Attend step. For a code that unlocks the ticket without changing the price, set the discount to 0% (percent_off: 0).
Response
Successful response.
This code is case insensitive.
ISO 8601 Datetime. For example, 2022-10-19T03:27:13.673Z
ISO 8601 Datetime. For example, 2022-10-19T03:27:13.673Z
The ticket type this coupon is restricted to, if any. Set for unlock (access) codes that reveal a hidden ticket type.