CreateManualFacilityBookingInput

Create a manual booking on behalf of a walk-in (vendor).

Fields

    customerEmail
    String
    Walk-in customer's email address.
    customerPhone
    String
    Walk-in customer's phone number.
    durationMinutes
    Int!
    Required
    Booked length in minutes. Must sit within the facility's own minimum and maximum duration.
    facilityId
    Int!
    Required
    Facility to book.
    note
    String
    Free-text note for the venue. Optional.
    participantCount
    Int!
    Required
    People included in the booking.
    requireFloodlight
    Boolean
    Whether floodlights are requested, adding the matching surcharge.
    sport
    SportType!
    Required
    Sport the facility is being booked for.
    startsAt
    DateTime!
    Required
    Requested start (UTC).
    userId
    Int

    The customer this booking is for, identified exactly one way — userId, customerPhone or customerEmail, resolved server-side. Supplying more than one is a 400. Omitting all three still books to the acting vendor user, which is what a venue-held block is.

Built with