Saltar al contenido

Object

Pass

A session pass offered by a business. Grants registration for a fixed number of sessions, with an optional expiration window.

Implements

Fields

idID!
stripePublishableKeyString!
stripeConnectedAccountIdID

The business's connected account for its active Stripe mode; the client initialises Stripe.js with this for direct charges. Null until onboarding completes.

nameString

Resolved for the given locale, falling back to English. Defaults to the viewer's locale.

Arguments (1)
localeLocale
priceInt!
purchaseRulesProductPurchaseRules!
effectivePriceInt!
sortOrderInt!
sessionCountInt

Number of sessions the pass grants. Nullable for type-system parity with Membership.sessionCount, which uses null = unlimited. Passes do not use the unlimited convention — this field is always populated in practice.

Used in