Quotes tools
All tool areas. Each tool acts within your access.
Quotes
create_quote
Quote a party for one session: individual tickets (lines), a group option such as the private game (group), or a private session staff created (private), with add-ons and menu counts, priced as a booking would be now. Numbered in the entity's own series (Q-0001) and emailed with its link to billTo (a name is required) unless send is false. Valid until validUntil, by default quoteValidDays (14) from now, never past the session's start. holdDate (default: the quoteHoldsDate setting, off) holds the session for the party until then, so nobody else can book it; voiding the quote gives it back. issue_invoice with the quote's id books it and invoices it. Needs orders:amounts. Undo voids it (it keeps its number). Returns a preview to confirm.
Changes · Members of an organization · Needs invoices:write
Plan: quotes and invoices
Input
sessionIdThe session's id, from list_sessions
linesSeats of individual ticket types; give one of lines, group, or private
lines[]lines[].ticketTypeIdThe ticket type's id, from get_product
lines[].quantitygroupA group option for the party (a private game); give one of lines, group, or private
group.groupOptionIdA group option from list_availability
group.partySizeprivateA private session staff created, for this party, at its own terms; give one of lines, group, or private
private.partySizeaddOnsaddOns[]addOns[].addOnIdAn add-on from list_availability's addOns
addOns[].quantitymenumenu[]menu[].choiceIdA choice from list_availability's menu
menu[].quantitybillToWho it's for: a name is required, and its email is where the quote goes
billTo.namebillTo.companybillTo.emailWhere the invoice (or quote) and its reminders go. Left out on an invoice: the order's email
billTo.phonebillTo.addressbillTo.address.line1billTo.address.line2billTo.address.citybillTo.address.regionProvince or state code, e.g. ON
billTo.address.postalCodebillTo.address.countryISO 3166-1 alpha-2, e.g. CA
validUntilLeft out: quoteValidDays (14) from now. Never past the session's start
holdDateHold the session for this party until validUntil, so nobody else can book it meanwhile. Left out: the quoteHoldsDate setting (off by default)
noteShown to the guest on the quote
sendEmail the quote with its link to the bill-to's email address (when it has one)
Output
quotequote.idqte_…
quote.numberQ-0001
quote.statusquote.stateopen (sent, still valid), expired (past validUntil without being invoiced), invoiced (booked: see orderId), void
quote.productquote.product.idquote.product.namequote.locationquote.location.idquote.location.namequote.location.timeZonequote.sessionquote.session.idquote.session.startsAtquote.session.whenIn the location's time zone
quote.partySizequote.wholeSessionWhether it takes the session whole (a private game or session)
quote.currencyquote.totalWith tax, as priced when it was made. Null without orders:amounts
quote.totalsAs priced when it was made, a snapshot: invoicing prices it again and refuses a total that has moved. Null without orders:amounts
quote.totals.currencyquote.totals.linesquote.totals.lines[]A booking's tickets, extras, and fees; a gift certificate's order has only its gift_certificate line
quote.totals.lines[] — object option 1quote.totals.lines[] — object option 1.kindquote.totals.lines[] — object option 1.ticketTypeIdquote.totals.lines[] — object option 1.namequote.totals.lines[] — object option 1.quantityquote.totals.lines[] — object option 1.unitAmountMinor units (cents)
quote.totals.lines[] — object option 1.groupOnly on a group option's line: the line is baseAmount plus unitAmount for each seat above includedSeats
quote.totals.lines[] — object option 1.group.baseAmountThe base charge, covering includedSeats, before fees and tax
quote.totals.lines[] — object option 1.group.includedSeatsquote.totals.lines[] — object option 1.amountMinor units (cents)
quote.totals.lines[] — object option 1.componentsOnly on a package whose price is split by tax class (a VIP ticket including a wine pairing): its parts, the ticket's own first, each taxed by its own class. Their amounts add up to the line's. Show them under the line
quote.totals.lines[] — object option 1.components[]quote.totals.lines[] — object option 1.components[].addOnIdThe included add-on (prd_…) this part is; null for the ticket's own part, named for its product
quote.totals.lines[] — object option 1.components[].namequote.totals.lines[] — object option 1.components[].quantityUnits for the whole line (seats for the ticket's own part, seats times the units per seat for an add-on)
quote.totals.lines[] — object option 1.components[].amountIts part of the line's amount, after discounts, before tax
quote.totals.lines[] — object option 1.components[].taxesIts own taxes, by the add-on's tax class (the product's for the ticket's own part). Only on refunded lines
quote.totals.lines[] — object option 1.components[].taxes[]quote.totals.lines[] — object option 1.components[].taxes[].namequote.totals.lines[] — object option 1.components[].taxes[].ratePpmquote.totals.lines[] — object option 1.components[].taxes[].amountMinor units (cents)
quote.totals.lines[] — object option 2quote.totals.lines[] — object option 2.kindquote.totals.lines[] — object option 2.addOnIdThe add-on (a product, prd_…)
quote.totals.lines[] — object option 2.namequote.totals.lines[] — object option 2.quantityquote.totals.lines[] — object option 2.unitAmountMinor units (cents)
quote.totals.lines[] — object option 2.menuChoiceIdThe menu choice (mch_…) this line is the supplement of, for the guests who picked it; null for an add-on bought on its own. One add-on can have both lines in one order: label each by this, never by its add-on and quantity. Always present
quote.totals.lines[] — object option 2.amountMinor units (cents)
quote.totals.lines[] — object option 3quote.totals.lines[] — object option 3.kindquote.totals.lines[] — object option 3.feeIdquote.totals.lines[] — object option 3.namequote.totals.lines[] — object option 3.ratePpmquote.totals.lines[] — object option 3.amountMinor units (cents)
quote.totals.lines[] — object option 4quote.totals.lines[] — object option 4.kindquote.totals.lines[] — object option 4.name"Gift certificate", or the preset's name
quote.totals.lines[] — object option 4.amountMinor units (cents)
quote.totals.subtotalMinor units (cents)
quote.totals.feesMinor units (cents)
quote.totals.totalBeforeTaxSubtotal plus fees: the party's total as shown before tax
quote.totals.taxMinor units (cents)
quote.totals.totalThe total with tax, what the guest pays
quote.totals.taxesquote.totals.taxes[]quote.totals.taxes[].namequote.totals.taxes[].ratePpmquote.totals.taxes[].amountMinor units (cents)
quote.totals.taxes[].baseWhat this tax was charged on: the lines carrying this rate, after discounts, before tax. Less than the subtotal before tax when part of it (a service charge) isn't taxed
quote.totals.discountThe promo code on this hold or order and what it took off, before tax. Each line's
amountandsubtotalare already after it. Null without a code. Always presentquote.totals.discount.codequote.totals.discount.kindquote.totals.discount.amountWhat it took off, before tax: off the tickets and extras, or the fees a waive_service_charge code waived
quote.totals.discount.linesWhat it took off each line: this plus the line's own amount is what the line was before it. A waived fee has no line of its own in
linesabovequote.totals.discount.lines[]quote.totals.discount.lines[] — object option 1quote.totals.discount.lines[] — object option 1.kindquote.totals.discount.lines[] — object option 1.ticketTypeIdquote.totals.discount.lines[] — object option 1.amountMinor units (cents)
quote.totals.discount.lines[] — object option 2quote.totals.discount.lines[] — object option 2.kindquote.totals.discount.lines[] — object option 2.addOnIdquote.totals.discount.lines[] — object option 2.amountMinor units (cents)
quote.totals.discount.lines[] — object option 3quote.totals.discount.lines[] — object option 3.kindquote.totals.discount.lines[] — object option 3.feeIdquote.totals.discount.lines[] — object option 3.amountMinor units (cents)
quote.totals.storedValueDiscountsFree value an order took off before tax, after the promo code, in the order given: a promotional gift certificate, or a goodwill or service recovery credit. Each line's
amountandsubtotalare already after it; show each as its own row before the fees and tax, like the promo code's. Never on a hold. Always present: empty when there's nonequote.totals.storedValueDiscounts[]quote.totals.storedValueDiscounts[].sourcequote.totals.storedValueDiscounts[].codeIts code masked (•••• and its last 4)
quote.totals.storedValueDiscounts[].amountWhat it took off, before tax
quote.totals.storedValueDiscounts[].linesWhat it took off each line: this plus the line's own amount is what the line was before it
quote.totals.storedValueDiscounts[].lines[]quote.totals.storedValueDiscounts[].lines[] — object option 1quote.totals.storedValueDiscounts[].lines[] — object option 1.kindquote.totals.storedValueDiscounts[].lines[] — object option 1.ticketTypeIdquote.totals.storedValueDiscounts[].lines[] — object option 1.amountMinor units (cents)
quote.totals.storedValueDiscounts[].lines[] — object option 2quote.totals.storedValueDiscounts[].lines[] — object option 2.kindquote.totals.storedValueDiscounts[].lines[] — object option 2.addOnIdquote.totals.storedValueDiscounts[].lines[] — object option 2.amountMinor units (cents)
quote.validUntilquote.holdDatequote.holdsDateWhether it holds the session right now (holdDate, still open and valid)
quote.billToquote.billTo.nameThe first name only, without customers:contact
quote.billTo.companyquote.billTo.emailquote.billTo.phonequote.billTo.addressquote.billTo.address.line1quote.billTo.address.line2quote.billTo.address.cityquote.billTo.address.regionProvince or state code, e.g. ON
quote.billTo.address.postalCodequote.billTo.address.countryISO 3166-1 alpha-2, e.g. CA
quote.noteShown to the guest
quote.orderIdOnce invoiced
quote.invoiceIdsquote.invoiceIds[]quote.createdByusr_…
quote.createdAtquote.voidedAtquote.voidNoteStaff's own words. Null without orders:amounts
get_quote
Get one quote: its number, state (open, expired, invoiced, void), the session and party, its price as quoted (orders:amounts), who it's for (customers:contact for more than the first name), until when it's valid, whether it holds the session, and its booking and invoices once invoiced.
Reads · Members of an organization · Needs bookings:read
Input
quoteIdThe quote's id, from list_quotes
Output
quotequote.idqte_…
quote.numberQ-0001
quote.statusquote.stateopen (sent, still valid), expired (past validUntil without being invoiced), invoiced (booked: see orderId), void
quote.productquote.product.idquote.product.namequote.locationquote.location.idquote.location.namequote.location.timeZonequote.sessionquote.session.idquote.session.startsAtquote.session.whenIn the location's time zone
quote.partySizequote.wholeSessionWhether it takes the session whole (a private game or session)
quote.currencyquote.totalWith tax, as priced when it was made. Null without orders:amounts
quote.totalsAs priced when it was made, a snapshot: invoicing prices it again and refuses a total that has moved. Null without orders:amounts
quote.totals.currencyquote.totals.linesquote.totals.lines[]A booking's tickets, extras, and fees; a gift certificate's order has only its gift_certificate line
quote.totals.lines[] — object option 1quote.totals.lines[] — object option 1.kindquote.totals.lines[] — object option 1.ticketTypeIdquote.totals.lines[] — object option 1.namequote.totals.lines[] — object option 1.quantityquote.totals.lines[] — object option 1.unitAmountMinor units (cents)
quote.totals.lines[] — object option 1.groupOnly on a group option's line: the line is baseAmount plus unitAmount for each seat above includedSeats
quote.totals.lines[] — object option 1.group.baseAmountThe base charge, covering includedSeats, before fees and tax
quote.totals.lines[] — object option 1.group.includedSeatsquote.totals.lines[] — object option 1.amountMinor units (cents)
quote.totals.lines[] — object option 1.componentsOnly on a package whose price is split by tax class (a VIP ticket including a wine pairing): its parts, the ticket's own first, each taxed by its own class. Their amounts add up to the line's. Show them under the line
quote.totals.lines[] — object option 1.components[]quote.totals.lines[] — object option 1.components[].addOnIdThe included add-on (prd_…) this part is; null for the ticket's own part, named for its product
quote.totals.lines[] — object option 1.components[].namequote.totals.lines[] — object option 1.components[].quantityUnits for the whole line (seats for the ticket's own part, seats times the units per seat for an add-on)
quote.totals.lines[] — object option 1.components[].amountIts part of the line's amount, after discounts, before tax
quote.totals.lines[] — object option 1.components[].taxesIts own taxes, by the add-on's tax class (the product's for the ticket's own part). Only on refunded lines
quote.totals.lines[] — object option 1.components[].taxes[]quote.totals.lines[] — object option 1.components[].taxes[].namequote.totals.lines[] — object option 1.components[].taxes[].ratePpmquote.totals.lines[] — object option 1.components[].taxes[].amountMinor units (cents)
quote.totals.lines[] — object option 2quote.totals.lines[] — object option 2.kindquote.totals.lines[] — object option 2.addOnIdThe add-on (a product, prd_…)
quote.totals.lines[] — object option 2.namequote.totals.lines[] — object option 2.quantityquote.totals.lines[] — object option 2.unitAmountMinor units (cents)
quote.totals.lines[] — object option 2.menuChoiceIdThe menu choice (mch_…) this line is the supplement of, for the guests who picked it; null for an add-on bought on its own. One add-on can have both lines in one order: label each by this, never by its add-on and quantity. Always present
quote.totals.lines[] — object option 2.amountMinor units (cents)
quote.totals.lines[] — object option 3quote.totals.lines[] — object option 3.kindquote.totals.lines[] — object option 3.feeIdquote.totals.lines[] — object option 3.namequote.totals.lines[] — object option 3.ratePpmquote.totals.lines[] — object option 3.amountMinor units (cents)
quote.totals.lines[] — object option 4quote.totals.lines[] — object option 4.kindquote.totals.lines[] — object option 4.name"Gift certificate", or the preset's name
quote.totals.lines[] — object option 4.amountMinor units (cents)
quote.totals.subtotalMinor units (cents)
quote.totals.feesMinor units (cents)
quote.totals.totalBeforeTaxSubtotal plus fees: the party's total as shown before tax
quote.totals.taxMinor units (cents)
quote.totals.totalThe total with tax, what the guest pays
quote.totals.taxesquote.totals.taxes[]quote.totals.taxes[].namequote.totals.taxes[].ratePpmquote.totals.taxes[].amountMinor units (cents)
quote.totals.taxes[].baseWhat this tax was charged on: the lines carrying this rate, after discounts, before tax. Less than the subtotal before tax when part of it (a service charge) isn't taxed
quote.totals.discountThe promo code on this hold or order and what it took off, before tax. Each line's
amountandsubtotalare already after it. Null without a code. Always presentquote.totals.discount.codequote.totals.discount.kindquote.totals.discount.amountWhat it took off, before tax: off the tickets and extras, or the fees a waive_service_charge code waived
quote.totals.discount.linesWhat it took off each line: this plus the line's own amount is what the line was before it. A waived fee has no line of its own in
linesabovequote.totals.discount.lines[]quote.totals.discount.lines[] — object option 1quote.totals.discount.lines[] — object option 1.kindquote.totals.discount.lines[] — object option 1.ticketTypeIdquote.totals.discount.lines[] — object option 1.amountMinor units (cents)
quote.totals.discount.lines[] — object option 2quote.totals.discount.lines[] — object option 2.kindquote.totals.discount.lines[] — object option 2.addOnIdquote.totals.discount.lines[] — object option 2.amountMinor units (cents)
quote.totals.discount.lines[] — object option 3quote.totals.discount.lines[] — object option 3.kindquote.totals.discount.lines[] — object option 3.feeIdquote.totals.discount.lines[] — object option 3.amountMinor units (cents)
quote.totals.storedValueDiscountsFree value an order took off before tax, after the promo code, in the order given: a promotional gift certificate, or a goodwill or service recovery credit. Each line's
amountandsubtotalare already after it; show each as its own row before the fees and tax, like the promo code's. Never on a hold. Always present: empty when there's nonequote.totals.storedValueDiscounts[]quote.totals.storedValueDiscounts[].sourcequote.totals.storedValueDiscounts[].codeIts code masked (•••• and its last 4)
quote.totals.storedValueDiscounts[].amountWhat it took off, before tax
quote.totals.storedValueDiscounts[].linesWhat it took off each line: this plus the line's own amount is what the line was before it
quote.totals.storedValueDiscounts[].lines[]quote.totals.storedValueDiscounts[].lines[] — object option 1quote.totals.storedValueDiscounts[].lines[] — object option 1.kindquote.totals.storedValueDiscounts[].lines[] — object option 1.ticketTypeIdquote.totals.storedValueDiscounts[].lines[] — object option 1.amountMinor units (cents)
quote.totals.storedValueDiscounts[].lines[] — object option 2quote.totals.storedValueDiscounts[].lines[] — object option 2.kindquote.totals.storedValueDiscounts[].lines[] — object option 2.addOnIdquote.totals.storedValueDiscounts[].lines[] — object option 2.amountMinor units (cents)
quote.validUntilquote.holdDatequote.holdsDateWhether it holds the session right now (holdDate, still open and valid)
quote.billToquote.billTo.nameThe first name only, without customers:contact
quote.billTo.companyquote.billTo.emailquote.billTo.phonequote.billTo.addressquote.billTo.address.line1quote.billTo.address.line2quote.billTo.address.cityquote.billTo.address.regionProvince or state code, e.g. ON
quote.billTo.address.postalCodequote.billTo.address.countryISO 3166-1 alpha-2, e.g. CA
quote.noteShown to the guest
quote.orderIdOnce invoiced
quote.invoiceIdsquote.invoiceIds[]quote.createdByusr_…
quote.createdAtquote.voidedAtquote.voidNoteStaff's own words. Null without orders:amounts
list_quotes
List quotes, newest first: by state (open, expired, invoiced, void), session, or location, only those for sessions the caller may read.
Reads · Members of an organization · Needs bookings:read
Input
stateOnly quotes in this state
sessionIdThe session's id, from list_sessions
locationIdThe location's id, from get_setup
beforenextBefore from the page before
limitThe most results to return (default 50)
Output
quotesquotes[]quotes[].idqte_…
quotes[].numberQ-0001
quotes[].statusquotes[].stateopen (sent, still valid), expired (past validUntil without being invoiced), invoiced (booked: see orderId), void
quotes[].productquotes[].product.idquotes[].product.namequotes[].locationquotes[].location.idquotes[].location.namequotes[].location.timeZonequotes[].sessionquotes[].session.idquotes[].session.startsAtquotes[].session.whenIn the location's time zone
quotes[].partySizequotes[].wholeSessionWhether it takes the session whole (a private game or session)
quotes[].currencyquotes[].totalWith tax, as priced when it was made. Null without orders:amounts
quotes[].totalsAs priced when it was made, a snapshot: invoicing prices it again and refuses a total that has moved. Null without orders:amounts
quotes[].totals.currencyquotes[].totals.linesquotes[].totals.lines[]A booking's tickets, extras, and fees; a gift certificate's order has only its gift_certificate line
quotes[].totals.lines[] — object option 1quotes[].totals.lines[] — object option 1.kindquotes[].totals.lines[] — object option 1.ticketTypeIdquotes[].totals.lines[] — object option 1.namequotes[].totals.lines[] — object option 1.quantityquotes[].totals.lines[] — object option 1.unitAmountMinor units (cents)
quotes[].totals.lines[] — object option 1.groupOnly on a group option's line: the line is baseAmount plus unitAmount for each seat above includedSeats
quotes[].totals.lines[] — object option 1.group.baseAmountThe base charge, covering includedSeats, before fees and tax
quotes[].totals.lines[] — object option 1.group.includedSeatsquotes[].totals.lines[] — object option 1.amountMinor units (cents)
quotes[].totals.lines[] — object option 1.componentsOnly on a package whose price is split by tax class (a VIP ticket including a wine pairing): its parts, the ticket's own first, each taxed by its own class. Their amounts add up to the line's. Show them under the line
quotes[].totals.lines[] — object option 1.components[]quotes[].totals.lines[] — object option 1.components[].addOnIdThe included add-on (prd_…) this part is; null for the ticket's own part, named for its product
quotes[].totals.lines[] — object option 1.components[].namequotes[].totals.lines[] — object option 1.components[].quantityUnits for the whole line (seats for the ticket's own part, seats times the units per seat for an add-on)
quotes[].totals.lines[] — object option 1.components[].amountIts part of the line's amount, after discounts, before tax
quotes[].totals.lines[] — object option 1.components[].taxesIts own taxes, by the add-on's tax class (the product's for the ticket's own part). Only on refunded lines
quotes[].totals.lines[] — object option 1.components[].taxes[]quotes[].totals.lines[] — object option 1.components[].taxes[].namequotes[].totals.lines[] — object option 1.components[].taxes[].ratePpmquotes[].totals.lines[] — object option 1.components[].taxes[].amountMinor units (cents)
quotes[].totals.lines[] — object option 2quotes[].totals.lines[] — object option 2.kindquotes[].totals.lines[] — object option 2.addOnIdThe add-on (a product, prd_…)
quotes[].totals.lines[] — object option 2.namequotes[].totals.lines[] — object option 2.quantityquotes[].totals.lines[] — object option 2.unitAmountMinor units (cents)
quotes[].totals.lines[] — object option 2.menuChoiceIdThe menu choice (mch_…) this line is the supplement of, for the guests who picked it; null for an add-on bought on its own. One add-on can have both lines in one order: label each by this, never by its add-on and quantity. Always present
quotes[].totals.lines[] — object option 2.amountMinor units (cents)
quotes[].totals.lines[] — object option 3quotes[].totals.lines[] — object option 3.kindquotes[].totals.lines[] — object option 3.feeIdquotes[].totals.lines[] — object option 3.namequotes[].totals.lines[] — object option 3.ratePpmquotes[].totals.lines[] — object option 3.amountMinor units (cents)
quotes[].totals.lines[] — object option 4quotes[].totals.lines[] — object option 4.kindquotes[].totals.lines[] — object option 4.name"Gift certificate", or the preset's name
quotes[].totals.lines[] — object option 4.amountMinor units (cents)
quotes[].totals.subtotalMinor units (cents)
quotes[].totals.feesMinor units (cents)
quotes[].totals.totalBeforeTaxSubtotal plus fees: the party's total as shown before tax
quotes[].totals.taxMinor units (cents)
quotes[].totals.totalThe total with tax, what the guest pays
quotes[].totals.taxesquotes[].totals.taxes[]quotes[].totals.taxes[].namequotes[].totals.taxes[].ratePpmquotes[].totals.taxes[].amountMinor units (cents)
quotes[].totals.taxes[].baseWhat this tax was charged on: the lines carrying this rate, after discounts, before tax. Less than the subtotal before tax when part of it (a service charge) isn't taxed
quotes[].totals.discountThe promo code on this hold or order and what it took off, before tax. Each line's
amountandsubtotalare already after it. Null without a code. Always presentquotes[].totals.discount.codequotes[].totals.discount.kindquotes[].totals.discount.amountWhat it took off, before tax: off the tickets and extras, or the fees a waive_service_charge code waived
quotes[].totals.discount.linesWhat it took off each line: this plus the line's own amount is what the line was before it. A waived fee has no line of its own in
linesabovequotes[].totals.discount.lines[]quotes[].totals.discount.lines[] — object option 1quotes[].totals.discount.lines[] — object option 1.kindquotes[].totals.discount.lines[] — object option 1.ticketTypeIdquotes[].totals.discount.lines[] — object option 1.amountMinor units (cents)
quotes[].totals.discount.lines[] — object option 2quotes[].totals.discount.lines[] — object option 2.kindquotes[].totals.discount.lines[] — object option 2.addOnIdquotes[].totals.discount.lines[] — object option 2.amountMinor units (cents)
quotes[].totals.discount.lines[] — object option 3quotes[].totals.discount.lines[] — object option 3.kindquotes[].totals.discount.lines[] — object option 3.feeIdquotes[].totals.discount.lines[] — object option 3.amountMinor units (cents)
quotes[].totals.storedValueDiscountsFree value an order took off before tax, after the promo code, in the order given: a promotional gift certificate, or a goodwill or service recovery credit. Each line's
amountandsubtotalare already after it; show each as its own row before the fees and tax, like the promo code's. Never on a hold. Always present: empty when there's nonequotes[].totals.storedValueDiscounts[]quotes[].totals.storedValueDiscounts[].sourcequotes[].totals.storedValueDiscounts[].codeIts code masked (•••• and its last 4)
quotes[].totals.storedValueDiscounts[].amountWhat it took off, before tax
quotes[].totals.storedValueDiscounts[].linesWhat it took off each line: this plus the line's own amount is what the line was before it
quotes[].totals.storedValueDiscounts[].lines[]quotes[].totals.storedValueDiscounts[].lines[] — object option 1quotes[].totals.storedValueDiscounts[].lines[] — object option 1.kindquotes[].totals.storedValueDiscounts[].lines[] — object option 1.ticketTypeIdquotes[].totals.storedValueDiscounts[].lines[] — object option 1.amountMinor units (cents)
quotes[].totals.storedValueDiscounts[].lines[] — object option 2quotes[].totals.storedValueDiscounts[].lines[] — object option 2.kindquotes[].totals.storedValueDiscounts[].lines[] — object option 2.addOnIdquotes[].totals.storedValueDiscounts[].lines[] — object option 2.amountMinor units (cents)
quotes[].validUntilquotes[].holdDatequotes[].holdsDateWhether it holds the session right now (holdDate, still open and valid)
quotes[].billToquotes[].billTo.nameThe first name only, without customers:contact
quotes[].billTo.companyquotes[].billTo.emailquotes[].billTo.phonequotes[].billTo.addressquotes[].billTo.address.line1quotes[].billTo.address.line2quotes[].billTo.address.cityquotes[].billTo.address.regionProvince or state code, e.g. ON
quotes[].billTo.address.postalCodequotes[].billTo.address.countryISO 3166-1 alpha-2, e.g. CA
quotes[].noteShown to the guest
quotes[].orderIdOnce invoiced
quotes[].invoiceIdsquotes[].invoiceIds[]quotes[].createdByusr_…
quotes[].createdAtquotes[].voidedAtquotes[].voidNoteStaff's own words. Null without orders:amounts
nextBefore
void_quote
Withdraw an open quote: it keeps its number, its link shows it's no longer on offer, and a session it held goes back on sale. note is staff's own words, never shown to the guest. A quote already invoiced is refused: cancel its booking instead. Returns a preview to confirm.
Changes · Members of an organization · Needs invoices:write
Input
quoteIdThe quote's id, from list_quotes
noteStaff's own words, never shown to the guest
Output
quotequote.idqte_…
quote.numberQ-0001
quote.statusquote.stateopen (sent, still valid), expired (past validUntil without being invoiced), invoiced (booked: see orderId), void
quote.productquote.product.idquote.product.namequote.locationquote.location.idquote.location.namequote.location.timeZonequote.sessionquote.session.idquote.session.startsAtquote.session.whenIn the location's time zone
quote.partySizequote.wholeSessionWhether it takes the session whole (a private game or session)
quote.currencyquote.totalWith tax, as priced when it was made. Null without orders:amounts
quote.totalsAs priced when it was made, a snapshot: invoicing prices it again and refuses a total that has moved. Null without orders:amounts
quote.totals.currencyquote.totals.linesquote.totals.lines[]A booking's tickets, extras, and fees; a gift certificate's order has only its gift_certificate line
quote.totals.lines[] — object option 1quote.totals.lines[] — object option 1.kindquote.totals.lines[] — object option 1.ticketTypeIdquote.totals.lines[] — object option 1.namequote.totals.lines[] — object option 1.quantityquote.totals.lines[] — object option 1.unitAmountMinor units (cents)
quote.totals.lines[] — object option 1.groupOnly on a group option's line: the line is baseAmount plus unitAmount for each seat above includedSeats
quote.totals.lines[] — object option 1.group.baseAmountThe base charge, covering includedSeats, before fees and tax
quote.totals.lines[] — object option 1.group.includedSeatsquote.totals.lines[] — object option 1.amountMinor units (cents)
quote.totals.lines[] — object option 1.componentsOnly on a package whose price is split by tax class (a VIP ticket including a wine pairing): its parts, the ticket's own first, each taxed by its own class. Their amounts add up to the line's. Show them under the line
quote.totals.lines[] — object option 1.components[]quote.totals.lines[] — object option 1.components[].addOnIdThe included add-on (prd_…) this part is; null for the ticket's own part, named for its product
quote.totals.lines[] — object option 1.components[].namequote.totals.lines[] — object option 1.components[].quantityUnits for the whole line (seats for the ticket's own part, seats times the units per seat for an add-on)
quote.totals.lines[] — object option 1.components[].amountIts part of the line's amount, after discounts, before tax
quote.totals.lines[] — object option 1.components[].taxesIts own taxes, by the add-on's tax class (the product's for the ticket's own part). Only on refunded lines
quote.totals.lines[] — object option 1.components[].taxes[]quote.totals.lines[] — object option 1.components[].taxes[].namequote.totals.lines[] — object option 1.components[].taxes[].ratePpmquote.totals.lines[] — object option 1.components[].taxes[].amountMinor units (cents)
quote.totals.lines[] — object option 2quote.totals.lines[] — object option 2.kindquote.totals.lines[] — object option 2.addOnIdThe add-on (a product, prd_…)
quote.totals.lines[] — object option 2.namequote.totals.lines[] — object option 2.quantityquote.totals.lines[] — object option 2.unitAmountMinor units (cents)
quote.totals.lines[] — object option 2.menuChoiceIdThe menu choice (mch_…) this line is the supplement of, for the guests who picked it; null for an add-on bought on its own. One add-on can have both lines in one order: label each by this, never by its add-on and quantity. Always present
quote.totals.lines[] — object option 2.amountMinor units (cents)
quote.totals.lines[] — object option 3quote.totals.lines[] — object option 3.kindquote.totals.lines[] — object option 3.feeIdquote.totals.lines[] — object option 3.namequote.totals.lines[] — object option 3.ratePpmquote.totals.lines[] — object option 3.amountMinor units (cents)
quote.totals.lines[] — object option 4quote.totals.lines[] — object option 4.kindquote.totals.lines[] — object option 4.name"Gift certificate", or the preset's name
quote.totals.lines[] — object option 4.amountMinor units (cents)
quote.totals.subtotalMinor units (cents)
quote.totals.feesMinor units (cents)
quote.totals.totalBeforeTaxSubtotal plus fees: the party's total as shown before tax
quote.totals.taxMinor units (cents)
quote.totals.totalThe total with tax, what the guest pays
quote.totals.taxesquote.totals.taxes[]quote.totals.taxes[].namequote.totals.taxes[].ratePpmquote.totals.taxes[].amountMinor units (cents)
quote.totals.taxes[].baseWhat this tax was charged on: the lines carrying this rate, after discounts, before tax. Less than the subtotal before tax when part of it (a service charge) isn't taxed
quote.totals.discountThe promo code on this hold or order and what it took off, before tax. Each line's
amountandsubtotalare already after it. Null without a code. Always presentquote.totals.discount.codequote.totals.discount.kindquote.totals.discount.amountWhat it took off, before tax: off the tickets and extras, or the fees a waive_service_charge code waived
quote.totals.discount.linesWhat it took off each line: this plus the line's own amount is what the line was before it. A waived fee has no line of its own in
linesabovequote.totals.discount.lines[]quote.totals.discount.lines[] — object option 1quote.totals.discount.lines[] — object option 1.kindquote.totals.discount.lines[] — object option 1.ticketTypeIdquote.totals.discount.lines[] — object option 1.amountMinor units (cents)
quote.totals.discount.lines[] — object option 2quote.totals.discount.lines[] — object option 2.kindquote.totals.discount.lines[] — object option 2.addOnIdquote.totals.discount.lines[] — object option 2.amountMinor units (cents)
quote.totals.discount.lines[] — object option 3quote.totals.discount.lines[] — object option 3.kindquote.totals.discount.lines[] — object option 3.feeIdquote.totals.discount.lines[] — object option 3.amountMinor units (cents)
quote.totals.storedValueDiscountsFree value an order took off before tax, after the promo code, in the order given: a promotional gift certificate, or a goodwill or service recovery credit. Each line's
amountandsubtotalare already after it; show each as its own row before the fees and tax, like the promo code's. Never on a hold. Always present: empty when there's nonequote.totals.storedValueDiscounts[]quote.totals.storedValueDiscounts[].sourcequote.totals.storedValueDiscounts[].codeIts code masked (•••• and its last 4)
quote.totals.storedValueDiscounts[].amountWhat it took off, before tax
quote.totals.storedValueDiscounts[].linesWhat it took off each line: this plus the line's own amount is what the line was before it
quote.totals.storedValueDiscounts[].lines[]quote.totals.storedValueDiscounts[].lines[] — object option 1quote.totals.storedValueDiscounts[].lines[] — object option 1.kindquote.totals.storedValueDiscounts[].lines[] — object option 1.ticketTypeIdquote.totals.storedValueDiscounts[].lines[] — object option 1.amountMinor units (cents)
quote.totals.storedValueDiscounts[].lines[] — object option 2quote.totals.storedValueDiscounts[].lines[] — object option 2.kindquote.totals.storedValueDiscounts[].lines[] — object option 2.addOnIdquote.totals.storedValueDiscounts[].lines[] — object option 2.amountMinor units (cents)
quote.validUntilquote.holdDatequote.holdsDateWhether it holds the session right now (holdDate, still open and valid)
quote.billToquote.billTo.nameThe first name only, without customers:contact
quote.billTo.companyquote.billTo.emailquote.billTo.phonequote.billTo.addressquote.billTo.address.line1quote.billTo.address.line2quote.billTo.address.cityquote.billTo.address.regionProvince or state code, e.g. ON
quote.billTo.address.postalCodequote.billTo.address.countryISO 3166-1 alpha-2, e.g. CA
quote.noteShown to the guest
quote.orderIdOnce invoiced
quote.invoiceIdsquote.invoiceIds[]quote.createdByusr_…
quote.createdAtquote.voidedAtquote.voidNoteStaff's own words. Null without orders:amounts