# Add-ons

> Extras per order (parking) or per ticket (a drink package); scannable ones get their own pass

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

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 add-ons

`GET /v1/add_ons`

Operation id `listAddOns`. MCP tool `list_add_ons`. SDK `tickets.addOns.list`.

Add-ons in sort order, filtered by event or archived. Each says whether it is per order or per ticket.

**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 AddOn | This page, newest first. |
| `has_more` * | boolean | True when there is another page: pass the last id as starting_after. |
| `url` * | "/v1/add_ons" | The path this list came from (/v1/add_ons). |

\* required

## Make an add-on

`POST /v1/add_ons`

Operation id `createAddOn`. MCP tool `create_add_on`. SDK `tickets.addOns.create`.

Makes an extra to sell with tickets. `per: "order"` is one per order (parking); `per: "ticket"` goes with each ticket of the types in `applies_to` (a drink package). `scannable: true` gives it its own pass at the gate. `pass_through: true` marks money held for someone else (refund protection): it is sold at its price, no code can reduce it and a comp cannot carry it, and it is never revenue, carries no fees and no tax, has no day, cannot be scannable, and is listed on the settlement statement as owed to someone else.

**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** (`CreateAddOnInput`)

| 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. |
| `fees` | array of FeeSpec | Fees per unit. |
| `taxable` | boolean |  |
| `capacity` | integer \| null |  |
| `per` * | "order" \| "ticket" | order: bought for the order (parking); ticket: at most one per ticket of a type it applies to (a drink package). |
| `applies_to` | "all" \| array of string | For per ticket: the ticket types it may go with. |
| `valid_days` | "all" \| array of string | "all" for every day of the event (days added later too), or a list of day ids. |
| `scannable` | boolean |  |
| `pass_through` | boolean | Money held for someone else (refund protection, an insurer's premium). Sold and priced like any add-on, but never the organizer's revenue: it is out of gross, net and every report, and the settlement statement lists it… |
| `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. |
| `per_order_max` | integer |  |
| `visibility` | Visibility |  |
| `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": "Drink package",
  "price": {
    "amount": 4000,
    "currency": "usd"
  },
  "per": "ticket",
  "applies_to": [
    "tt_vip_weekend"
  ]
}
```

**Answers 201.** The add-on.

**Fields** (`AddOn`)

| Field | Type | Description |
| --- | --- | --- |
| `object` * | "add_on" |  |
| `id` * | string | An id starting with add_. |
| `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 unit. |
| `fees` * | array of FeeSpec | Fees per unit. |
| `taxable` * | boolean |  |
| `capacity` * | integer \| null |  |
| `per` * | "order" \| "ticket" | order: bought for the order (parking); ticket: at most one per ticket of a type it applies to (a drink package). |
| `applies_to` * | "all" \| array of string | For per ticket: the ticket types it may go with. |
| `valid_days` * | "all" \| array of string | "all" for every day of the event (days added later too), or a list of day ids. |
| `scannable` * | boolean | Issues its own pass with its own QR (a parking pass). |
| `pass_through` | boolean | Money held for someone else (refund protection, an insurer's premium). Sold and priced like any add-on, but never the organizer's revenue: it is out of gross, net and every report, and the settlement statement lists it… |
| `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. |
| `per_order_max` * | integer |  |
| `visibility` * | Visibility | public; hidden (only with an access code that unlocks it); comp_only (only in comps, never sold). |
| `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 |  |
| `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 an add-on

`GET /v1/add_ons/{id}`

Operation id `getAddOn`. MCP tool `get_add_on`. SDK `tickets.addOns.retrieve`.

One add-on with its price, whether it is per order or per ticket, what it applies to, and its capacity.

**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 add_. |

**Answers 200.** The add-on.

**Fields** (`AddOn`)

| Field | Type | Description |
| --- | --- | --- |
| `object` * | "add_on" |  |
| `id` * | string | An id starting with add_. |
| `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 unit. |
| `fees` * | array of FeeSpec | Fees per unit. |
| `taxable` * | boolean |  |
| `capacity` * | integer \| null |  |
| `per` * | "order" \| "ticket" | order: bought for the order (parking); ticket: at most one per ticket of a type it applies to (a drink package). |
| `applies_to` * | "all" \| array of string | For per ticket: the ticket types it may go with. |
| `valid_days` * | "all" \| array of string | "all" for every day of the event (days added later too), or a list of day ids. |
| `scannable` * | boolean | Issues its own pass with its own QR (a parking pass). |
| `pass_through` | boolean | Money held for someone else (refund protection, an insurer's premium). Sold and priced like any add-on, but never the organizer's revenue: it is out of gross, net and every report, and the settlement statement lists it… |
| `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. |
| `per_order_max` * | integer |  |
| `visibility` * | Visibility | public; hidden (only with an access code that unlocks it); comp_only (only in comps, never sold). |
| `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 |  |
| `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 an add-on

`PATCH /v1/add_ons/{id}`

Operation id `updateAddOn`. MCP tool `update_add_on`. SDK `tickets.addOns.update`.

Changes an add-on. Capacity cannot go below what is already sold or held.

**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 add_. |

**Request body** (`UpdateAddOnInput`)

| Field | Type | Description |
| --- | --- | --- |
| `name` | string |  |
| `description` | string \| null |  |
| `price` | Money | An amount of money: whole minor units (cents) and a currency. Never a float. |
| `fees` | array of FeeSpec | Fees per unit. |
| `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. |
| `applies_to` | "all" \| array of string | For per ticket: the ticket types it may go with. |
| `valid_days` | "all" \| array of string | "all", or a list of day ids. Refused once any of the add-on are sold, comped or held, either way. |
| `scannable` | boolean | Only while none are sold. |
| `pass_through` | boolean | Only while none are sold. Turning it on also turns fees and tax off. |
| `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. |
| `per_order_max` | integer |  |
| `visibility` | Visibility | public; hidden (only with an access code that unlocks it); comp_only (only in comps, never sold). |
| `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
{
  "price": {
    "amount": 4500,
    "currency": "usd"
  }
}
```

**Answers 200.** Updated.

**Fields** (`AddOn`)

| Field | Type | Description |
| --- | --- | --- |
| `object` * | "add_on" |  |
| `id` * | string | An id starting with add_. |
| `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 unit. |
| `fees` * | array of FeeSpec | Fees per unit. |
| `taxable` * | boolean |  |
| `capacity` * | integer \| null |  |
| `per` * | "order" \| "ticket" | order: bought for the order (parking); ticket: at most one per ticket of a type it applies to (a drink package). |
| `applies_to` * | "all" \| array of string | For per ticket: the ticket types it may go with. |
| `valid_days` * | "all" \| array of string | "all" for every day of the event (days added later too), or a list of day ids. |
| `scannable` * | boolean | Issues its own pass with its own QR (a parking pass). |
| `pass_through` | boolean | Money held for someone else (refund protection, an insurer's premium). Sold and priced like any add-on, but never the organizer's revenue: it is out of gross, net and every report, and the settlement statement lists it… |
| `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. |
| `per_order_max` * | integer |  |
| `visibility` * | Visibility | public; hidden (only with an access code that unlocks it); comp_only (only in comps, never sold). |
| `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 |  |
| `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), [`event_has_orders`](https://rcms-tickets-test.web.app/docs/errors.md#event_has_orders), [`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 an add-on never sold

`DELETE /v1/add_ons/{id}`

Operation id `deleteAddOn`. MCP tool `delete_add_on`. SDK `tickets.addOns.delete`.

Deletes an add-on that has never sold. One that has sold is archived through update.

**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 add_. |

**Answers 200.** Deleted.

**Fields**

| Field | Type | Description |
| --- | --- | --- |
| `object` * | "add_on" |  |
| `id` * | string | An id starting with add_. |
| `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).
