---
id: ticket-upgrade-quote
title: ticketUpgradeQuote
---

Read-only quote for selected source units and an upgrade option.

```graphql
ticketUpgradeQuote(
  attendanceIds: [ID!]!
  bundle: Boolean = false
  discountCodes: [String!]
  mappingId: ID!
  offerId: ID!
  posId: ID
  sourceId: String
  ticketId: ID
): TicketUpgradeQuotePayload!
```

### Arguments

#### [`ticketUpgradeQuote.attendanceIds`](#attendance-ids) · [`[ID!]!`](/docs/developers/api-reference/booking/v1/types/scalars/id) **non-null** **scalar** {#attendance-ids}

Source attendances selected for the upgrade.

#### [`ticketUpgradeQuote.bundle`](#bundle) · [`Boolean`](/docs/developers/api-reference/booking/v1/types/scalars/boolean) **scalar** {#bundle}

Whether the selection is for complete bundle units.

#### [`ticketUpgradeQuote.discountCodes`](#discount-codes) · [`[String!]`](/docs/developers/api-reference/booking/v1/types/scalars/string) **list** **scalar** {#discount-codes}

Promotion codes to apply to the target price before credit.

#### [`ticketUpgradeQuote.mappingId`](#mapping-id) · [`ID!`](/docs/developers/api-reference/booking/v1/types/scalars/id) **non-null** **scalar** {#mapping-id}

Source-to-target mapping ID returned by discovery.

#### [`ticketUpgradeQuote.offerId`](#offer-id) · [`ID!`](/docs/developers/api-reference/booking/v1/types/scalars/id) **non-null** **scalar** {#offer-id}

Upgrade offer ID returned by discovery.

#### [`ticketUpgradeQuote.posId`](#pos-id) · [`ID`](/docs/developers/api-reference/booking/v1/types/scalars/id) **scalar** {#pos-id}

Point of sale to use for pricing. Defaults to the current sales context.

#### [`ticketUpgradeQuote.sourceId`](#source-id) · [`String`](/docs/developers/api-reference/booking/v1/types/scalars/string) **scalar** {#source-id}

Source order ID for staff, or the customer's order or ticket-download token.

#### [`ticketUpgradeQuote.ticketId`](#ticket-id) · [`ID`](/docs/developers/api-reference/booking/v1/types/scalars/id) **scalar** {#ticket-id}

Limit the selection to this ticket.

### Type

#### [`TicketUpgradeQuotePayload`](/docs/developers/api-reference/booking/v1/types/objects/ticket-upgrade-quote-payload) **object**

Result of quoting a selected upgrade option.
