Skip to main content
POST
Create discount code

Authorizations

Authorization
string
header
required

OAuth2 personal access token from User settings → API tokens

Scopes

events:read
discounts:create

Path Parameters

company
string
required

Company sqid

organizingEvent
string
required

Organizing event slug

Body

application/json
discount_id
string
required

A discount sqid of this company

code
string
required
Required string length: 3 - 100
ticket_type_slugs
string[]
required

Paid ticket types of this event, by slug

Minimum array length: 1

Response

Created discount code