ServiceBooking

A booked appointment for a service.

Fields

    bookingTime
    DateTime
    When the appointment starts. Null when no time has been fixed.
    createdAt
    DateTime!
    Required
    When the booking was made.
    currency
    MinimalCurrency!
    Required
    Currency the price is quoted in.
    id
    Int!
    Required
    Identifier of the booking.
    notes
    String
    Notes the customer left with the booking. Null when none were given.
    orderId
    Int!
    Required
    Order the booking was paid for under.
    payment
    OrderPaymentInfo
    How the booking was paid for. Null when payment detail was not asked for.
    price
    Decimal!
    Required

    What the booking costs, in currency.

    purchasedDurationMinutes
    Int
    Length of the appointment in minutes. Null when the service is not timed.
    service
    BasicService
    The service booked. Null when it was not asked for.
    serviceId
    Int!
    Required
    Service that was booked.
    status
    PaymentStatus!
    Required
    Whether the booking has been paid for.
    updatedAt
    DateTime!
    Required
    When the booking last changed.
    user
    ServiceBookingUser
    The customer. Null when the caller may not see customer details.
    userId
    Int!
    Required
    Customer who booked it.
    vendor
    VendorNested
    The merchant. Null when the caller already knows which one.
    vendorId
    Int!
    Required
    Merchant providing the service.
    vendorLocationId
    Int
    Branch the appointment is at. Null when no branch was resolved.
    vendorLocationName
    String
    Display name of that branch.
Built with