Skip to content

joinBookingWaitlist

joinBookingWaitlist(session: EntityRef!, participant: ParticipantSelectionInput, buyer: BuyerInput, intendedPaymentMethod: BookingIntendedPaymentMethod, admissions: Int, paymentMethod: ID, formData: [RegistrationDataInput!]): JoinWaitlistResult!

Join the queue for a full session. Writes a waitlisted booking with no order behind it — nothing is charged until a place is offered and accepted, which is why this is not checkout.

Automatic promotion charges a card the party reserved at join time: capture one with createWaitlistSetupIntent and pass it as paymentMethod. A place queued without one is promoted to an offer for the party to accept.

Arguments

sessionEntityRef!

Guest details, for a visitor queueing with no signed-in viewer — the same shape checkout takes. A queued place has no order behind it, so this is the only thing that will identify the party when the place is offered weeks later: without it, an anonymous caller has nowhere to be reached and the join is refused.

intendedPaymentMethodBookingIntendedPaymentMethod

How the party intends to pay if promoted. Drives whether a promotion can charge automatically or has to wait for the buyer.

admissionsInt

How many places the party is queueing for. Defaults to one.

paymentMethodID

A Stripe PaymentMethod to hold against the queued place, so a promotion can charge off-session instead of waiting for the buyer to come back. Validated as belonging to the caller before it is stored; a place queued without one still joins, and its promotion falls through to the offer-and-pay email.

Ignored on a free session and on a demo tenant, neither of which will ever charge.

The registration form's answers, the same shape checkout takes. A waiver that requires a signature has to be signed here: a promotion confirms the queued place without asking again, so the answers are stored on the queued booking and carried onto the order when the place is let in.

Returns

JoinWaitlistResult!

See JoinWaitlistResult for the full shape.

Try it

Authentication
Example
Query
mutation JoinBookingWaitlist($session: EntityRef!, $participant: ParticipantSelectionInput, $buyer: BuyerInput, $intendedPaymentMethod: BookingIntendedPaymentMethod, $admissions: Int, $paymentMethod: ID, $formData: [RegistrationDataInput!]) {
  joinBookingWaitlist(session: $session, participant: $participant, buyer: $buyer, intendedPaymentMethod: $intendedPaymentMethod, admissions: $admissions, paymentMethod: $paymentMethod, formData: $formData) {
    __typename
  }
}
Variables
{}
POST https://go.sessions.website/api/graphql