Skip to main content
POST
cURL

Authorizations

integration_id
string
header
required

Identifier of the integration (Auth v1)

secret
string
header
required

Secret of the organization (Auth v1)

x-api-key
string
header
required

API key (Auth v2)

Body

application/json

Discount codes to import and target event.

discount_code_ids
string[]
required

Organization-level discount code identifiers to import. Between 1 and 100 items.

Required array length: 1 - 100 elements
Example:
event_id
string
required

Target event identifier.

Example:

"el4gr63f00xkq01i1d8jh5ohuzaZhvoE"

Response

HTTP OK

success
boolean
Example:

true

data
object