addBookingSeats
addBookingSeats(booking: ID!, seats: Int!, prices: [PriceQuantityInput!], spotHolderKey: String, ageRuleAccepted: Boolean): AddBookingSeatsResult!Add seats more places to a party's booking — more people are coming.
They join the booking the party already holds. A queued party is charged nothing now; letting it in prices every seat it holds. A booked party pays for the new seats through a checkout of their own: the result carries its checkoutSession to confirm, then completePurchase, whose fulfilment adds the seats — or, when they cost nothing, an already-completed purchase. An offered party accepts its offer first. The session must have room.
Refused (field: seats) on a class each buyer books only for themselves (participantMode: selfOnly, on the session or else its activity): there are no guests to bring. Staff may still add to a party.
Booking.seatAdditionPreview says what this will cost before it is called, and is null when it would be refused.
Arguments
bookingID!seatsInt!prices[PriceQuantityInput!]The ticket types the new seats are sold at, for a session that sells them — the same {price, quantity} list checkout takes, whose quantities add up to seats. Without it the seats are sold at the activity's own price, which is what a session selling one kind of place charges. Only a booked party paying for its own seats is priced by ticket type; a queued party's are priced when it is let in.
spotHolderKeyStringThe key the buyer's seat holds were taken under, when prices names reserved seats — the same key holdSpots was called with.
ageRuleAcceptedBooleanThe buyer's confirmation of the session's door age rule, as on checkout. Required, and must be true, on an 18+, 19+ or 21+ session: a growing party re-confirms for everyone in it. An absent value is refused with field: "ageRuleAccepted".
Returns
See AddBookingSeatsResult for the full shape.
Try it
Example
mutation AddBookingSeats($booking: ID!, $seats: Int!, $prices: [PriceQuantityInput!], $spotHolderKey: String, $ageRuleAccepted: Boolean) {
addBookingSeats(booking: $booking, seats: $seats, prices: $prices, spotHolderKey: $spotHolderKey, ageRuleAccepted: $ageRuleAccepted) {
__typename
}
}
https://go.sessions.website/api/graphql