Facility

A facility (bookable unit) with its resolved attributes.

Fields

    bookingMode
    FacilityBookingMode!
    Required
    Whether the facility is booked exclusively or shares capacity between parties.
    cancellationPolicy
    FacilityCancellationPolicy
    What a customer gets back if they cancel, and what a no-show costs. Null when this facility has no policy, which means a cancellation is refunded in full.
    cancellationPolicyId
    Int

    Identifier of the tiered cancellation policy applied to this facility.

    Select cancellationPolicy to read the policy itself; this is the bare id, kept for clients that already hold one.

    capacity
    Int!
    Required
    Maximum people per slot. Always 1 for exclusive-use facilities.
    createdAt
    DateTime!
    Required
    When the facility was created (UTC).
    depositAmount
    Money
    Refundable deposit held per booking. Null when none is held.
    environment
    FacilityEnvironment!
    Required
    Whether the facility is indoors or outdoors.
    id
    Int!
    Required
    Unique identifier for the facility.
    isActive
    Boolean!
    Required
    Whether the facility currently accepts bookings.
    maxDurationMinutes
    Int!
    Required
    Longest bookable duration, in minutes.
    minDurationMinutes
    Int!
    Required
    Shortest bookable duration, in minutes.
    name
    String!
    Required
    Facility name, such as "Court 1".
    photos
    [FacilityPhoto!]!
    Required
    Gallery images in display order. Always holds at least one image.
    priceFrom
    Money
    Lowest resolved per-hour-equivalent price for this facility. Null when no pricing rule exists.
    slotIntervalMinutes
    Int!
    Required
    Spacing between consecutive bookable start times, in minutes.
    slug
    String!
    Required
    URL-friendly slug.
    sports
    [SportType!]!
    Required
    Sports that can be played at this facility.
    surface
    String
    Playing surface, such as clay or astroturf. Null when unspecified.
    updatedAt
    DateTime!
    Required
    When the facility was last changed (UTC).
    vendorLocationId
    Int!
    Required
    Venue the facility belongs to.
Built with