Skip to main content

CreateTemporaryHoldForHotelBookingInput

Defines the input for temporarily holding a hotel booking.

input CreateTemporaryHoldForHotelBookingInput {
checkInDate: LocalDate!
checkOutDate: LocalDate!
contactId: ID!
eventId: ID!
numberOfRooms: PositiveInt
paymentStatus: PaymentStatusInput!
roomTypeId: ID!
temporaryHoldContextId: ID!
}

Fields

CreateTemporaryHoldForHotelBookingInput.checkInDate ● LocalDate! non-null scalar

The check-in date of the hotel booking to hold for.

CreateTemporaryHoldForHotelBookingInput.checkOutDate ● LocalDate! non-null scalar

The check-out date of the hotel booking to hold for.

CreateTemporaryHoldForHotelBookingInput.contactId ● ID! non-null scalar

The identifier of the contact the hotel booking is being held for.

CreateTemporaryHoldForHotelBookingInput.eventId ● ID! non-null scalar

The identifier of the event the hotel booking is associated with.

CreateTemporaryHoldForHotelBookingInput.numberOfRooms ● PositiveInt scalar

The number of rooms to hold. Optional.

The default value is 1.

CreateTemporaryHoldForHotelBookingInput.paymentStatus ● PaymentStatusInput! non-null enum

Payment status of the hotel booking.

CreateTemporaryHoldForHotelBookingInput.roomTypeId ● ID! non-null scalar

The identifier of the room type the hotel booking is being held for.

CreateTemporaryHoldForHotelBookingInput.temporaryHoldContextId ● ID! non-null scalar

A user-defined context ID representing one or more temporary holds. This ID is used to identify and release related temporary holds.

Member Of

createTemporaryHoldForHotelBooking mutation