Query
Fields
previewCheckoutCheckoutPreview!Price a basket without minting anything. Takes the same items checkout does, so what a buyer previews and what they are charged cannot disagree — hand taxCalculationId back to checkout to be charged the figure shown.
Named apart from the legacy checkoutPreview only while both exist; that one goes when its callers move over.
Arguments (1)
inputCheckoutInput!purchasePurchaseOne order, by id. Readable by its buyer, and by anyone holding the id for an anonymous checkout — which is what lets a guest see their own receipt.
Arguments (1)
idID!servicesServices!Third-party service configuration (Stripe keys, Mapbox tokens, etc.).
meMeThe currently authenticated user and their passkeys.
activitySessionActivitySessionArguments (1)
idID!staffMemberStaffMemberOne staff member of the business the request is scoped to (the @handle whose page is being viewed) — how a public profile sheet fetches the schedule behind a staff member it only knows the id of, without the page query carrying every member's sessions up front. Null when the request has no business scope, or the id belongs to another business or a removed member.
Arguments (1)
idID!bookingActivitySlots[AppointmentSlot!]!Open, bookable increments for a structure: booking activity within the [from, to] window — the activity's weekly windows minus the assigned resource's commitments, honoring its booking notice + advance window. Each slot is one increment; customers compose a longer booking from a contiguous run (bounded by minIncrements/maxIncrements). Empty when the activity isn't bookable or the appointments feature is off.
For a services-priced activity pass the selected services: each returned slot is then a valid appointment start spanning the selection's full derived duration (the summed service durations rounded up to the slot increment), so only starts whose whole run is open are returned.
bookingActivityNextAvailabilityDateTimeThe start of the earliest open booking increment strictly after after (scanning forward up to a bounded horizon), so a booking calendar can jump the customer to the next day/week that actually has availability. Null when there's none within the horizon, the activity isn't bookable, or the appointments feature is off. Pass services for a services-priced activity so the opening spans the selection's full derived duration.
checkoutPreviewCheckoutPreviewResult!Read-only preview of what a customer would be charged at checkout for a product or activity, with optional discountCode and giftCardCode applied. Used by checkout UIs to show line totals as the customer types. Returns per-field errors (invalid code, conditions not met, expired, etc.) instead of throwing.
Arguments (1)
checkoutCheckoutPreviewInput!searchSearchResults!Global search across Sessions' public surfaces, used by the Cmd-K Go menu's contextual results. Today returns matching businesses; the result type will grow over time to surface favorite instructors, activities, and other public entities alongside without breaking the field name. Each list is capped at first (default 5, max 10); matches are case-insensitive substring matches on the entity's primary text columns. Returns empty lists for an empty query.
pendingSocialSignUpPendingSocialSignUpThe social sign-in waiting on a confirmation in this browser, if any. Only ever non-null right after a popup-blocked social sign-in bounced back with ?confirmSignUp=1: it reads the pending token out of its HttpOnly cookie so the app can ask about the account without the address ever travelling through the URL.