Skip to content

Get ticket groups​

GET
/api/v2/events/{eventId}/ticket-groups

Returns a list of ticket groups

Authorizations​

bearerAuth
Type
HTTP (bearer)

Parameters​

Path Parameters

eventId*

Event Id

Type
integer
Required
Format
"int64"

Responses​

Ticket group list

application/json
JSON
{
  
"count": 10,
  
"totalCount": 25,
  
"limit": 50,
  
"offset": 25,
  
"data": [
  
]
}

Playground​

Authorization
Variables
Key
Value

Samples​


Create a new ticket group​

POST
/api/v2/events/{eventId}/ticket-groups

Create ticket group

Authorizations​

bearerAuth
Type
HTTP (bearer)

Parameters​

Path Parameters

eventId*

Event Id

Type
integer
Required
Format
"int64"

Request Body​

application/json
JSON
"string"

Responses​

Created ticket group object

application/json
JSON
{
  
"data": "string"
}

Playground​

Authorization
Variables
Key
Value
Body

Samples​


Get ticket group by ID​

GET
/api/v2/events/{eventId}/ticket-groups/{id}

Returns a single ticket group

Authorizations​

bearerAuth
Type
HTTP (bearer)

Parameters​

Path Parameters

eventId*

Event Id

Type
integer
Required
Format
"int64"
id*

Ticket Group Id

Type
integer
Required
Format
"int64"

Responses​

Ticket group object

application/json
JSON
{
  
"data": "string"
}

Playground​

Authorization
Variables
Key
Value

Samples​


Delete a ticket group​

DELETE
/api/v2/events/{eventId}/ticket-groups/{id}

Deletes a ticket group

Authorizations​

bearerAuth
Type
HTTP (bearer)

Parameters​

Path Parameters

eventId*

Event Id

Type
integer
Required
Format
"int64"
id*

ID of the ticket group to delete

Type
integer
Required
Format
"int64"

Responses​

Ticket group deleted successfully

Playground​

Authorization
Variables
Key
Value

Samples​


Update a ticket group​

PATCH
/api/v2/events/{eventId}/ticket-groups/{id}

Update an existing ticket group

Authorizations​

bearerAuth
Type
HTTP (bearer)

Parameters​

Path Parameters

eventId*

Event Id

Type
integer
Required
Format
"int64"
id*

ID of the ticket group to update

Type
integer
Required
Format
"int64"

Request Body​

application/json
JSON
"string"

Responses​

Updated ticket group object

application/json
JSON
{
  
"data": "string"
}

Playground​

Authorization
Variables
Key
Value
Body

Samples​


Powered by VitePress OpenAPI