# Ticket types

> Kinds of admission, with prices, fees, capacity, valid days, sale windows, limits, min_age and wristbands

Source: https://rcms-tickets-test.web.app/docs/reference/ticket_types

Every operation below is also in [the OpenAPI document](https://rcms-tickets-test.web.app/v1/openapi.yaml). One that names an MCP tool can be called through [the MCP server](https://rcms-tickets-test.web.app/docs/mcp.md); one that names none cannot.

## List ticket types

`GET /v1/ticket_types`

Operation id `listTicketTypes`. MCP tool `list_ticket_types`. SDK `tickets.ticketTypes.list`.

Ticket types in sort order, filtered by event or archived. Prices are in minor units (cents).

**Who may call it.** Any one of: An API key with scope `full`, `read`. Any other scope answers `insufficient_scope`; A signed-in dashboard member whose role has `read` (owner, admin, staff, viewer).

| Parameter | In | Type | Description |
| --- | --- | --- | --- |
| `limit` | query | integer | How many to return, 1 to 100 (default 20). |
| `starting_after` | query | string | An id from the page before: the page after it. |
| `ending_before` | query | string | An id from the page after: the page before it. A list read from the database offers it as the list comes and filtered by event alone, in the default order, and answers parameter_invalid to any other… |
| `event` | query | string | An id starting with evt_. |
| `archived` | query | "true" \| "false" |  |

**Answers 200.** A page, by sort_order.

**Fields**

| Field | Type | Description |
| --- | --- | --- |
| `object` * | "list" |  |
| `data` * | array of TicketType | This page, newest first. |
| `has_more` * | boolean | True when there is another page: pass the last id as starting_after. |
| `url` * | "/v1/ticket_types" | The path this list came from (/v1/ticket_types). |

\* required

## Make a ticket type

`POST /v1/ticket_types`

Operation id `createTicketType`. MCP tool `create_ticket_type`. SDK `tickets.ticketTypes.create`.

Makes a kind of admission for an event: price, fees, capacity, which days it is good for, sale window, per-order limits, visibility, holder details, extra questions, minimum age and wristband. `valid_days` is `"all"` or day ids.

**Who may call it.** Any one of: An API key with scope `full`. Any other scope answers `insufficient_scope`; A signed-in dashboard member whose role has `catalog.write` (owner, admin, staff).

**Request body** (`CreateTicketTypeInput`)

| Field | Type | Description |
| --- | --- | --- |
| `event` * | string | An id starting with evt_. |
| `name` * | string |  |
| `description` | string |  |
| `price` * | Money | An amount of money: whole minor units (cents) and a currency. Never a float. |
| `compare_at_price` | Money | An amount of money: whole minor units (cents) and a currency. Never a float. |
| `fees` | array of FeeSpec | Fees per ticket. |
| `taxable` | boolean |  |
| `capacity` | integer \| null | How many may be sold and comped in all (comps count), or null (then only day and event caps apply). |
| `valid_days` | "all" \| array of string | "all" for every day of the event (days added later too), or a list of day ids. |
| `sale_starts_at` | string (date-time) | An instant in ISO 8601 with its zone, e.g. 2027-07-17T20:00:00Z. Answers are always UTC. |
| `sale_ends_at` | string (date-time) | An instant in ISO 8601 with its zone, e.g. 2027-07-17T20:00:00Z. Answers are always UTC. |
| `tickets_per_unit` | integer | Tickets issued for each unit bought: 1 (the default; one ticket per unit) to 20. A 5-pack is a unit that issues 5 separate tickets, each with its own QR. Price, fees and codes apply once per unit; capacity, the event's… |
| `per_order_min` | integer | Units (bundles, for a bundle type) in one order, at least. |
| `per_order_max` | integer | Units (bundles, for a bundle type) in one order, at most. |
| `visibility` | Visibility |  |
| `holder_details` | "none" \| "name" \| "name_and_email" |  |
| `questions` | array of Question | Asked when this type is in the order (scope order) or for each of its tickets (scope ticket). |
| `min_age` | integer \| null | The scanner says "Check ID 21+" for 21 (and whether the buyer's date of birth meets it, never the date). |
| `wristband` | Wristband \| null |  |
| `day_wristbands` | object \| null | A different wristband on certain days, by day id: a 2-day pass says Saturday's color on Saturday. A day with no entry hands over `wristband`; a day the ticket is not good for hands over nothing. |
| `ticket_design` | TicketDesign \| null |  |
| `sort_order` | integer |  |
| `metadata` | object | Your own key-value pairs (up to 50; keys up to 40 characters, values up to 500). We store and return them and never act on them. |

\* required

```json
{
  "event": "evt_yrd2027",
  "name": "VIP Weekend",
  "price": {
    "amount": 30000,
    "currency": "usd"
  },
  "min_age": 21,
  "wristband": {
    "label": "VIP gold",
    "color": "#D4AF37"
  },
  "day_wristbands": {
    "day_fri": {
      "label": "VIP gold",
      "color": "#D4AF37"
    },
    "day_sat": {
      "label": "VIP silver",
      "color": "#C0C0C0"
    }
  },
  "tickets_per_unit": 1
}
```

**Answers 201.** The type.

**Fields** (`TicketType`)

| Field | Type | Description |
| --- | --- | --- |
| `object` * | "ticket_type" |  |
| `id` * | string | An id starting with tt_. |
| `mode` * | Mode | test or live, decided by the key (rt_test_… or rt_live_…). Test and live data never mix. |
| `event` * | string | An id starting with evt_. |
| `name` * | string |  |
| `description` * | string \| null |  |
| `price` * | object | The price of one ticket, before fees and tax. Its currency is the event's. |
| `compare_at_price` * | Money \| null | Its regular price, when this type is a reduced tier (an early bird at 120.00 of a regular 150.00): shown struck through, and the Overview says the saving (compare_at_price − price). More than price, same currency; null:… |
| `fees` * | array of FeeSpec | Fees per ticket. |
| `taxable` * | boolean | The event's tax applies. |
| `capacity` * | integer \| null | How many may be sold and comped in all (comps count), or null (then only day and event caps apply). |
| `valid_days` * | "all" \| array of string | "all" for every day of the event (days added later too), or a list of day ids. |
| `sale_starts_at` * | string \| null | An instant in ISO 8601 with its zone, e.g. 2027-07-17T20:00:00Z. Answers are always UTC. |
| `sale_ends_at` * | string \| null | An instant in ISO 8601 with its zone, e.g. 2027-07-17T20:00:00Z. Answers are always UTC. |
| `tickets_per_unit` | integer | Tickets issued for each unit bought: 1 (the default; one ticket per unit) to 20. A 5-pack is a unit that issues 5 separate tickets, each with its own QR. Price, fees and codes apply once per unit; capacity, the event's… |
| `per_order_min` * | integer | Units (bundles, for a bundle type) in one order, at least. |
| `per_order_max` * | integer | Units (bundles, for a bundle type) in one order, at most. |
| `visibility` * | Visibility | public; hidden (only with an access code that unlocks it); comp_only (only in comps, never sold). |
| `holder_details` * | "none" \| "name" \| "name_and_email" | What each ticket's holder must give at checkout: none (the buyer holds it), a name, or a name and email. |
| `questions` * | array of Question | Asked when this type is in the order (scope order) or for each of its tickets (scope ticket). |
| `min_age` * | integer \| null | The scanner says "Check ID 21+" for 21 (and whether the buyer's date of birth meets it, never the date). |
| `wristband` * | Wristband \| null |  |
| `day_wristbands` | object \| null | Its wristband on each day, when it differs by day. Absent or null: `wristband` every day. |
| `ticket_design` * | TicketDesign \| null | Its own design (a VIP ticket in gold); null: the event's. |
| `sort_order` * | integer |  |
| `metadata` * | Metadata | Your own key-value pairs (up to 50; keys up to 40 characters, values up to 500). We store and return them and never act on them. |
| `archived` * | boolean | No longer sold or shown; its tickets stay valid. |
| `created_at` * | string (date-time) | An instant in ISO 8601 with its zone, e.g. 2027-07-17T20:00:00Z. Answers are always UTC. |
| `updated_at` * | string (date-time) | An instant in ISO 8601 with its zone, e.g. 2027-07-17T20:00:00Z. Answers are always UTC. |

\* required

**Errors of its own.** [`currency_mismatch`](https://rcms-tickets-test.web.app/docs/errors.md#currency_mismatch), [`invalid_state_transition`](https://rcms-tickets-test.web.app/docs/errors.md#invalid_state_transition). The errors every operation can answer are on [the errors page](https://rcms-tickets-test.web.app/docs/errors.md).

## Retrieve a ticket type

`GET /v1/ticket_types/{id}`

Operation id `getTicketType`. MCP tool `get_ticket_type`. SDK `tickets.ticketTypes.retrieve`.

One ticket type with its price, fees, capacity, valid days, sale window, limits and visibility.

**Who may call it.** Any one of: An API key with scope `full`, `read`. Any other scope answers `insufficient_scope`; A signed-in dashboard member whose role has `read` (owner, admin, staff, viewer).

| Parameter | In | Type | Description |
| --- | --- | --- | --- |
| `id` * | path | string | An id starting with tt_. |

**Answers 200.** The type.

**Fields** (`TicketType`)

| Field | Type | Description |
| --- | --- | --- |
| `object` * | "ticket_type" |  |
| `id` * | string | An id starting with tt_. |
| `mode` * | Mode | test or live, decided by the key (rt_test_… or rt_live_…). Test and live data never mix. |
| `event` * | string | An id starting with evt_. |
| `name` * | string |  |
| `description` * | string \| null |  |
| `price` * | object | The price of one ticket, before fees and tax. Its currency is the event's. |
| `compare_at_price` * | Money \| null | Its regular price, when this type is a reduced tier (an early bird at 120.00 of a regular 150.00): shown struck through, and the Overview says the saving (compare_at_price − price). More than price, same currency; null:… |
| `fees` * | array of FeeSpec | Fees per ticket. |
| `taxable` * | boolean | The event's tax applies. |
| `capacity` * | integer \| null | How many may be sold and comped in all (comps count), or null (then only day and event caps apply). |
| `valid_days` * | "all" \| array of string | "all" for every day of the event (days added later too), or a list of day ids. |
| `sale_starts_at` * | string \| null | An instant in ISO 8601 with its zone, e.g. 2027-07-17T20:00:00Z. Answers are always UTC. |
| `sale_ends_at` * | string \| null | An instant in ISO 8601 with its zone, e.g. 2027-07-17T20:00:00Z. Answers are always UTC. |
| `tickets_per_unit` | integer | Tickets issued for each unit bought: 1 (the default; one ticket per unit) to 20. A 5-pack is a unit that issues 5 separate tickets, each with its own QR. Price, fees and codes apply once per unit; capacity, the event's… |
| `per_order_min` * | integer | Units (bundles, for a bundle type) in one order, at least. |
| `per_order_max` * | integer | Units (bundles, for a bundle type) in one order, at most. |
| `visibility` * | Visibility | public; hidden (only with an access code that unlocks it); comp_only (only in comps, never sold). |
| `holder_details` * | "none" \| "name" \| "name_and_email" | What each ticket's holder must give at checkout: none (the buyer holds it), a name, or a name and email. |
| `questions` * | array of Question | Asked when this type is in the order (scope order) or for each of its tickets (scope ticket). |
| `min_age` * | integer \| null | The scanner says "Check ID 21+" for 21 (and whether the buyer's date of birth meets it, never the date). |
| `wristband` * | Wristband \| null |  |
| `day_wristbands` | object \| null | Its wristband on each day, when it differs by day. Absent or null: `wristband` every day. |
| `ticket_design` * | TicketDesign \| null | Its own design (a VIP ticket in gold); null: the event's. |
| `sort_order` * | integer |  |
| `metadata` * | Metadata | Your own key-value pairs (up to 50; keys up to 40 characters, values up to 500). We store and return them and never act on them. |
| `archived` * | boolean | No longer sold or shown; its tickets stay valid. |
| `created_at` * | string (date-time) | An instant in ISO 8601 with its zone, e.g. 2027-07-17T20:00:00Z. Answers are always UTC. |
| `updated_at` * | string (date-time) | An instant in ISO 8601 with its zone, e.g. 2027-07-17T20:00:00Z. Answers are always UTC. |

\* required

## Change a ticket type

`PATCH /v1/ticket_types/{id}`

Operation id `updateTicketType`. MCP tool `update_ticket_type`. SDK `tickets.ticketTypes.update`.

Changes a ticket type. Capacity cannot go below what is already sold, comped or held (`limit_below_committed`). Set `archived: true` to stop selling a type that has sold.

**Who may call it.** Any one of: An API key with scope `full`. Any other scope answers `insufficient_scope`; A signed-in dashboard member whose role has `catalog.write` (owner, admin, staff).

| Parameter | In | Type | Description |
| --- | --- | --- | --- |
| `id` * | path | string | An id starting with tt_. |

**Request body** (`UpdateTicketTypeInput`)

| Field | Type | Description |
| --- | --- | --- |
| `name` | string |  |
| `description` | string \| null |  |
| `price` | Money | A new price applies to new holds only. |
| `compare_at_price` | Money \| null |  |
| `fees` | array of FeeSpec | Fees per ticket. |
| `taxable` | boolean |  |
| `capacity` | integer \| null | Never below what is sold, comped or held (limit_below_committed); applied to its inventory pool in the same write. |
| `valid_days` | "all" \| array of string | "all", or a list of day ids. Refused once any of the type are sold, comped or held, either way. |
| `sale_starts_at` | string \| null | An instant in ISO 8601 with its zone, e.g. 2027-07-17T20:00:00Z. Answers are always UTC. |
| `sale_ends_at` | string \| null | An instant in ISO 8601 with its zone, e.g. 2027-07-17T20:00:00Z. Answers are always UTC. |
| `tickets_per_unit` | integer | Refused once any of the type are sold, comped or held (it would change what past orders mean). |
| `per_order_min` | integer | Units (bundles, for a bundle type) in one order, at least. |
| `per_order_max` | integer | Units (bundles, for a bundle type) in one order, at most. |
| `visibility` | Visibility | public; hidden (only with an access code that unlocks it); comp_only (only in comps, never sold). |
| `holder_details` | "none" \| "name" \| "name_and_email" |  |
| `questions` | array of Question | Asked when this type is in the order (scope order) or for each of its tickets (scope ticket). |
| `min_age` | integer \| null | The scanner says "Check ID 21+" for 21 (and whether the buyer's date of birth meets it, never the date). |
| `wristband` | Wristband \| null |  |
| `day_wristbands` | object \| null | A different wristband on certain days, by day id: a 2-day pass says Saturday's color on Saturday. A day with no entry hands over `wristband`; a day the ticket is not good for hands over nothing. |
| `ticket_design` | TicketDesign \| null |  |
| `sort_order` | integer |  |
| `archived` | boolean |  |
| `metadata` | object | Your own key-value pairs (up to 50; keys up to 40 characters, values up to 500). We store and return them and never act on them. |

```json
{
  "capacity": 200,
  "archived": false
}
```

**Answers 200.** Updated.

**Fields** (`TicketType`)

| Field | Type | Description |
| --- | --- | --- |
| `object` * | "ticket_type" |  |
| `id` * | string | An id starting with tt_. |
| `mode` * | Mode | test or live, decided by the key (rt_test_… or rt_live_…). Test and live data never mix. |
| `event` * | string | An id starting with evt_. |
| `name` * | string |  |
| `description` * | string \| null |  |
| `price` * | object | The price of one ticket, before fees and tax. Its currency is the event's. |
| `compare_at_price` * | Money \| null | Its regular price, when this type is a reduced tier (an early bird at 120.00 of a regular 150.00): shown struck through, and the Overview says the saving (compare_at_price − price). More than price, same currency; null:… |
| `fees` * | array of FeeSpec | Fees per ticket. |
| `taxable` * | boolean | The event's tax applies. |
| `capacity` * | integer \| null | How many may be sold and comped in all (comps count), or null (then only day and event caps apply). |
| `valid_days` * | "all" \| array of string | "all" for every day of the event (days added later too), or a list of day ids. |
| `sale_starts_at` * | string \| null | An instant in ISO 8601 with its zone, e.g. 2027-07-17T20:00:00Z. Answers are always UTC. |
| `sale_ends_at` * | string \| null | An instant in ISO 8601 with its zone, e.g. 2027-07-17T20:00:00Z. Answers are always UTC. |
| `tickets_per_unit` | integer | Tickets issued for each unit bought: 1 (the default; one ticket per unit) to 20. A 5-pack is a unit that issues 5 separate tickets, each with its own QR. Price, fees and codes apply once per unit; capacity, the event's… |
| `per_order_min` * | integer | Units (bundles, for a bundle type) in one order, at least. |
| `per_order_max` * | integer | Units (bundles, for a bundle type) in one order, at most. |
| `visibility` * | Visibility | public; hidden (only with an access code that unlocks it); comp_only (only in comps, never sold). |
| `holder_details` * | "none" \| "name" \| "name_and_email" | What each ticket's holder must give at checkout: none (the buyer holds it), a name, or a name and email. |
| `questions` * | array of Question | Asked when this type is in the order (scope order) or for each of its tickets (scope ticket). |
| `min_age` * | integer \| null | The scanner says "Check ID 21+" for 21 (and whether the buyer's date of birth meets it, never the date). |
| `wristband` * | Wristband \| null |  |
| `day_wristbands` | object \| null | Its wristband on each day, when it differs by day. Absent or null: `wristband` every day. |
| `ticket_design` * | TicketDesign \| null | Its own design (a VIP ticket in gold); null: the event's. |
| `sort_order` * | integer |  |
| `metadata` * | Metadata | Your own key-value pairs (up to 50; keys up to 40 characters, values up to 500). We store and return them and never act on them. |
| `archived` * | boolean | No longer sold or shown; its tickets stay valid. |
| `created_at` * | string (date-time) | An instant in ISO 8601 with its zone, e.g. 2027-07-17T20:00:00Z. Answers are always UTC. |
| `updated_at` * | string (date-time) | An instant in ISO 8601 with its zone, e.g. 2027-07-17T20:00:00Z. Answers are always UTC. |

\* required

**Errors of its own.** [`currency_mismatch`](https://rcms-tickets-test.web.app/docs/errors.md#currency_mismatch), [`limit_below_committed`](https://rcms-tickets-test.web.app/docs/errors.md#limit_below_committed), [`invalid_state_transition`](https://rcms-tickets-test.web.app/docs/errors.md#invalid_state_transition). The errors every operation can answer are on [the errors page](https://rcms-tickets-test.web.app/docs/errors.md).

## Delete a type never sold (archive it otherwise)

`DELETE /v1/ticket_types/{id}`

Operation id `deleteTicketType`. MCP tool `delete_ticket_type`. SDK `tickets.ticketTypes.delete`.

Deletes a ticket type that has never sold. One that has sold must be archived (`archived: true` through update) so existing tickets keep their record.

**Who may call it.** Any one of: An API key with scope `full`. Any other scope answers `insufficient_scope`; A signed-in dashboard member whose role has `catalog.write` (owner, admin, staff).

| Parameter | In | Type | Description |
| --- | --- | --- | --- |
| `id` * | path | string | An id starting with tt_. |

**Answers 200.** Deleted.

**Fields**

| Field | Type | Description |
| --- | --- | --- |
| `object` * | "ticket_type" |  |
| `id` * | string | An id starting with tt_. |
| `deleted` * | true |  |

\* required

**Errors of its own.** [`event_has_orders`](https://rcms-tickets-test.web.app/docs/errors.md#event_has_orders), [`invalid_state_transition`](https://rcms-tickets-test.web.app/docs/errors.md#invalid_state_transition). The errors every operation can answer are on [the errors page](https://rcms-tickets-test.web.app/docs/errors.md).
