Skip Main Navigation
Page Content

Ticket Groups

GET /ticket_groups/:ticket_group_id/

Returns the ticket_group with the specified :ticket_group_id.

Parameters

Takes no parameters

Errors

No endpoint-specific errors

DELETE /ticket_groups/:ticket_group_id/

Deletes the ticket_group with the specified :ticket_group_id. The status of the ticket group is changed to deleted.

Parameters

Takes no parameters

Errors

  • NOT_ALLOWED: Only tickets groups that are not associated with any ticket class may be deleted.

POST /ticket_groups/

Creates a ticket group and returns the created ticket_group. Only up to 200 live ticket groups may be created; those with archived or deleted status are not taken into account.

Parameters

Name Type Required Description
ticket_group.name string Yes Name of ticket group.
ticket_group.status string No The status of ticket group. Valid choices are: live, deleted, or archived.
ticket_group.event_ticket_ids dict No (‘IDs of tickets by event id for this ticket group. In the format “{“event_id”: [“ticket_class_id”, “ticket_class_id”]}”.’,)

Errors

No endpoint-specific errors

Argument Errors

  • ticket_group.name - MISSING: The ticket group must have a name.
  • ticket_group.name - DUPLICATE: The ticket group name provided is already in use.

Example request

POST Create ticket group
https://www.eventbriteapi.com/v3/ticket_groups/

JSON Data example:

{
    "ticket_group": {
        "name": "summer",
        "event_ticket_ids": "{\"28744198672\": [\"56472627\", \"56472628\"]}"
    }
}

Returns a ticket_group

POST /ticket_groups/:ticket_group_id/

Updates the ticket group with the specified :ticket_group_id. Returns the updated ticket_group.

Parameters

Name Type Required Description
ticket_group.name string No Name of ticket group.
ticket_group.status string No The status of ticket group. Valid choices are: live, deleted, or archived.
ticket_group.event_ticket_ids dict No (‘IDs of tickets by event id for this ticket group. In the format “{“event_id”: [“ticket_class_id”, “ticket_class_id”]}”.’,)

Errors

No endpoint-specific errors

Argument Errors

  • ticket_group.name - DUPLICATE: The ticket group name provided is already in use.
  • ticket_group.status - INVALID: The ticket group status must be one of the options defined in ticket_group.

Example request

POST Update ticket group status only
https://www.eventbriteapi.com/v3/ticket_groups/:ticket_group_id/

JSON Data example:

{
    "ticket_group": {
        "status": "archived"
    }
}

Returns a ticket_group