Skip to content
LocationObject

Fields

idID!
businessBusiness!

Canonical pages for this location — the public go URL and the staff-admin URL. Consume instead of building paths from the id.

nameString!
addressString!
addressStreetString
addressLine2String
addressCityString
addressRegionString

ISO 3166-2 region code (e.g. "ON", "NY").

addressPostalCodeString
addressCountryString

ISO 3166-1 alpha-2 country code (e.g. "CA", "US").

latitudeFloat
longitudeFloat
bookingBooking!
bookableSpotsBookingSpots

Bookable-spot layout for this location, or null when no layout has been configured. Layout-only — for the per-session occupancy view (taken / viewer-owned / viewer-guest IDs), read ActivitySession.bookableSpots.

activities[Activity!]!
facilities[Facility!]!

Named sub-spaces (rooms, courts, studios) within this location. Empty when the location has no facilities configured.

sessions[ActivitySession!]!

Activity sessions taking place at this location. Sort defaults to startAt ASC, id ASC; pass sort: startDesc to return the most recent sessions first.

Arguments (5)
sortActivitySessionSort= "startAsc"
firstInt
includeAppointmentsBoolean= false

Include this location's appointment bookings (source appointment) alongside class sessions. Defaults to false; the per-resource admin schedule passes true to overlay bookings.

Narrow to sessions created via any of the listed sources. Null or empty means "any source". appointment only takes effect together with includeAppointments: true (and the appointments feature); a public read can never surface appointment bookings.

Used in

Location