Membership
A recurring membership offered by a business. Sessions reset or accumulate each billing period.
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.
bankDebitBankDebitCheckoutOptionBank debit (ACH / pre-authorized debit) offered for buying this membership, or null when it isn't on offer. Non-null is what tells the purchase sheet to render a payment-method choice at all; null leaves the sheet exactly as it was, card-only.
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.
sessionCountIntSessions granted per billing period. Null means the membership grants unlimited sessions; sessionsAccumulate is meaningless in that case.
billingCycleBillingCycle!minimumBillingIntervalsIntOptional minimum commitment, as a number of billing intervals the member must complete before the membership can lapse. Null means no minimum. When set, a cancellation requested before the commitment is met is deferred to the end of the commitment term rather than the end of the current period. Public: the storefront shows the commitment next to the price.
guestSessionCountInt!Number of guest passes granted per billing period. Guest passes let a member cover a registration for someone other than themselves. Zero means the membership cannot be used for guest registrations.
guestSessionsAccumulateBoolean!Whether unused guest passes carry over across billing periods.
expirationProductExpirationWhen the membership expires, either as a duration after purchase (expiration.after) or a fixed calendar date (expiration.at). Null means the membership never expires.
coveredActivities[Activity!]The activities this membership 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 membership 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.