Skip to content

Event coupons

Ticket discount codes: percent or amount, validity, number of uses, optionally for one event only.

Module: Events (events).

  • GET /api/v1/ticketed_coupons - List with filters, sorting and pagination (scope events:read)
  • GET /api/v1/ticketed_coupons/{id} - A record by id (scope events:read)
  • POST /api/v1/ticketed_coupons - Create a record (scope events:write)
  • PATCH /api/v1/ticketed_coupons/{id} - Modify the submitted fields (scope events:write)
  • DELETE /api/v1/ticketed_coupons/{id} - Delete or deactivate (scope events:write)
  • 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).
  • ticketed_coupons.created
  • ticketed_coupons.updated
  • ticketed_coupons.deleted