Skip to main content
POST
Create a new seat type

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
name
string
required

Seat type name

price
string
required

Cost of place. Passed as a string to preserve precision

Example:

"99.90"

seat_color
string
required

Color in 6-digit or 3-digit HEX format, starting with '#'

Pattern: ^#([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$
Example:

"#4A90E2"

hall_id
integer<int64>
required

Unique hall ID

Response

The seat type was successfully created

seat_type_id
integer<int64>
required

Unique seat type ID

name
string
required

Seat type name

price
string
required

Cost of place. Passed as a string to preserve precision

Example:

"99.90"

seat_color
string
required

Color in 6-digit or 3-digit HEX format, starting with '#'

Pattern: ^#([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$
Example:

"#4A90E2"

hall_id
integer<int64>
required

Unique hall ID