Event coupons
Ticket discount codes: percent or amount, validity, number of uses, optionally for one event only.
Module: Events (events).
Endpoints
Section titled “Endpoints”GET /api/v1/ticketed_coupons- List with filters, sorting and pagination (scopeevents:read)GET /api/v1/ticketed_coupons/{id}- A record by id (scopeevents:read)POST /api/v1/ticketed_coupons- Create a record (scopeevents:write)PATCH /api/v1/ticketed_coupons/{id}- Modify the submitted fields (scopeevents:write)DELETE /api/v1/ticketed_coupons/{id}- Delete or deactivate (scopeevents:write)
Fields
Section titled “Fields”id(string, uuid; read): Unique identifier (UUID).code(string; write, required)kind(string; write)value(number; write, required)currency(string; write): Currency (ISO code, e.g. RON).event_id(string; write)starts_at(string; write)ends_at(string; write)max_uses(number; write)is_active(boolean; write): Whether the record is active.created_by(string; read)created_at(string, date-time; read): Creation date (ISO 8601).updated_at(string, date-time; read): Last modification date (ISO 8601).
Events
Section titled “Events”ticketed_coupons.createdticketed_coupons.updatedticketed_coupons.deleted