CreateFacilityInput

Create a facility under a venue.

Fields

    bookingMode
    FacilityBookingMode!
    Required
    Whether the facility is booked exclusively or shares capacity between parties.
    cancellationPolicyId
    Int
    Tiered cancellation policy to apply.
    capacity
    Int!
    Required
    Max people per slot. Required >= 1 for shared-capacity; 1 for exclusive.
    depositAmount
    Decimal
    Refundable deposit held per booking.
    environment
    FacilityEnvironment!
    Required
    Whether the facility is indoors or outdoors.
    imageUrls
    [String!]!
    Required
    Defaults:

    Gallery images given as URLs, for callers with no multipart channel (the OAuth2 developer API). Fetched into storage alongside photos.

    maxDurationMinutes
    Int!
    Required
    Longest bookable duration, in minutes.
    minDurationMinutes
    Int!
    Required
    Shortest bookable duration, in minutes.
    name
    String!
    Required
    Facility name shown to customers.
    slotIntervalMinutes
    Int!
    Required
    Spacing between consecutive bookable start times, in minutes.
    sports
    [SportType!]!
    Required
    Sports this facility supports. At least one is required.
    surface
    String
    Playing surface, such as clay or astroturf. Optional.
    vendorLocationId
    Int!
    Required
    Venue the facility belongs to.
Built with