acceptWaitlistOfferMutation
acceptWaitlistOffer(registration: EntityRef!, discountCode: String, giftCardCode: String): AcceptWaitlistOfferResult!Accept a waitlist offer. Completes registration; for card-paid offers with no reserved card on file, returns a CheckoutSession so the caller can drive Stripe.js. Optional discount and gift-card codes can be applied at accept time.
Arguments
Returns
See AcceptWaitlistOfferResult for the full shape.
Try it
Example
Query
mutation AcceptWaitlistOffer($registration: EntityRef!, $discountCode: String, $giftCardCode: String) {
acceptWaitlistOffer(registration: $registration, discountCode: $discountCode, giftCardCode: $giftCardCode) {
__typename
}
}
Variables
{}
POST
https://go.sessions.website/api/graphqlacceptWaitlistOffer