update_ticket_group
Update one ticket group on an event: name, capacity, sale window, availability trigger (null removes it), selection type, bulk discounts, visibility and more. Only supplied properties change. Its ticket types are managed with create_ticket_type, update_ticket_type and archive_ticket_type. Get the event and group IDs from get_event. Mutating.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| hidden | No | ||
| layout | No | ||
| pageId | Yes | The ID of the event. Event IDs come from list_events, or the `id` that create_event returns. | |
| status | No | ||
| capacity | No | ||
| preselect | No | ||
| reference | No | ||
| saleEndOn | No | ||
| feeDisplay | No | ||
| description | No | ||
| saleStartOn | No | ||
| bulkDiscounts | No | ||
| ticketGroupId | Yes | The ID of the ticket group. get_event lists the event's groups under `ticketGroups[].id`. | |
| hideWhenSoldOut | No | ||
| hideWhenNotOnSale | No | ||
| hideWhenScheduled | No | ||
| hideWhenUnavailable | No | ||
| ticketSelectionType | No | ||
| availabilityBehavior | No | ||
| triggerTicketGroupId | No | ID of another ticket group on the same event whose sale end or sell-out makes this group available. Required when `availabilityBehavior` is `after_ticket_sale_ends`, `after_ticket_sold_out` or `after_ticket_ends_or_sold_out`. Find it under `ticketGroups[].id` in get_event. Pass null to remove the trigger. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes |