Pass
A session pass offered by a business. Grants registration for a fixed number of sessions, with an optional expiration window.
Implements
Fields
idID!businessBusiness!stripePublishableKeyString!stripeConnectedAccountIdIDThe business's connected account for its active Stripe mode; the client initialises Stripe.js with this for direct charges. Null until onboarding completes.
nameStringResolved for the given locale, falling back to English. Defaults to the viewer's locale.
Arguments (1)
localeLocaledescriptionStringResolved for the given locale, falling back to English. Defaults to the viewer's locale.
Arguments (1)
localeLocalefeaturedImageImagemedia[Image!]!priceInt!visibilityProductVisibility!saleProductSalePeriod!purchaseRulesProductPurchaseRules!effectivePriceInt!sortOrderInt!purchasePageBlocks[PurchasePageBlock!]!Ordered list of configurable blocks rendered on this product's purchase page (contract, signature, acknowledgement, recurring-summary, etc.). Empty for products that use the default purchase layout. config on each block is a JSON-encoded string.
sessionCountIntNumber of sessions the pass grants. Null means the pass is unlimited: it covers any eligible session until it expires, as a null Membership.sessionCount does each period. An unlimited pass always has an expiration.
expirationProductExpirationWhen the pass expires, either as a duration after purchase (expiration.after) or a fixed calendar date (expiration.at). Null means the pass never expires.
coveredActivities[Activity!]The activities this pass covers, for the storefront's "Good for" line: its included activities when activityScope is selected. Only activities listed publicly are returned — an unlisted, staff-only or deleted one is left out, so a storefront never names it. Null when the pass covers every activity.
memberPrices[Price!]!What members pay, for the storefront: the live automatic prices aimed at members (anyActiveMembership or specificMembership), in composition order. Paused, deleted and lapsed prices are left out, and so are prices for everyone, which effectivePrice already includes.
challenges[Challenge!]!The challenges buying this signs you up for — those linked to it with Challenge.includedWith that are on display, have a public page and have not ended, soonest ending first.
clockStartClockStart!When the pass's validity clock starts. With firstSession, a relative expiry (expiration.after) counts from the buyer's first booked session once it occurs rather than from purchase; a fixed calendar expiry (expiration.at) is unaffected. Defaults to purchase.