POST
Create promo code
/v1/events/{event_id}/promo-codesScope prep_manage
Create a promo code (percentage or fixed discount, optionally limited to one ticket type, a validity window and a redemption cap). 409 DUPLICATE_CODE if the code already exists for this event; 403 MODULE_DISABLED without Experience.
Parameters
event_idstring · pathRequiredRequest body (JSON)
codestringRequireddiscount_typestringdiscount_valuenumberticket_type_idstring (uuid)valid_fromstring (date-time)valid_untilstring (date-time)max_redemptionsintegerResponses
201Successful Response
422The request did not validate.
401The key is missing, unknown, revoked or expired.
403The key lacks the scope this call needs, or the organisation is not on Enterprise.
429Over the request rate. Wait for Retry-After seconds.