FacilityBooking

A facility booking as seen by the booker / vendor / admin.

Fields

    addons
    [FacilityBookingAddon!]!
    Required
    Add-ons (equipment / coaching) attached to this booking.
    cancellationReason
    String
    Why the booking was cancelled. Null unless it was cancelled.
    createdAt
    DateTime!
    Required
    When the booking was made (UTC).
    depositAmount
    Money
    Refundable deposit held for this booking. Null when none is held.
    durationMinutes
    Int!
    Required
    Booked length in minutes.
    endsAt
    DateTime!
    Required
    When the booking ends (UTC).
    facilityId
    Int!
    Required
    Facility that was booked.
    facilityName
    String!
    Required
    Facility name.
    id
    Int!
    Required
    Unique identifier for the booking.
    noShowFee
    Money

    No-show fee charged when the booking is flagged NO_SHOW. Null when none applies.

    orderCode
    String!
    Required
    Human-readable order reference shown to the customer.
    orderId
    Int!
    Required
    Order the booking was created under.
    participantCount
    Int!
    Required
    People included in the booking.
    recurringBookingId
    Int
    Set when materialised from a standing weekly recurrence.
    sport
    SportType!
    Required
    Sport the facility was booked for.
    startsAt
    DateTime!
    Required
    When the booking starts (UTC).
    status
    FacilityBookingStatus!
    Required
    Current state of the booking.
    totalPrice
    Money!
    Required
    Total charged for the booking.
    userId
    Int!
    Required
    Customer the booking is held for.
    vendorId
    Int!
    Required
    Merchant that operates the venue.
    vendorLocationId
    Int!
    Required
    Venue the booking is at.
    venueName
    String!
    Required
    Venue name.
Built with