Skip to content

acceptBookingOffer

acceptBookingOffer(booking: ID!, discountCode: String, giftCardCode: String, ageRuleAccepted: Boolean): CheckoutResult!

Accept an offered place. Re-enters checkout for the amount owed, so the result carries a CheckoutSession exactly as checkout does; the existing waitlisted booking is confirmed rather than a second one inserted beside it.

Arguments

bookingID!
discountCodeString
giftCardCodeString
ageRuleAcceptedBoolean

The 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: joining the queue asks nothing, so this is where the buyer of a queued place confirms it. An absent value is refused with field: "ageRuleAccepted".

Returns

CheckoutResult!

See CheckoutResult for the full shape.

Try it

Authentication
Example
Query
mutation AcceptBookingOffer($booking: ID!, $discountCode: String, $giftCardCode: String, $ageRuleAccepted: Boolean) {
  acceptBookingOffer(booking: $booking, discountCode: $discountCode, giftCardCode: $giftCardCode, ageRuleAccepted: $ageRuleAccepted) {
    __typename
  }
}
Variables
{}
POST https://go.sessions.website/api/graphql