Skip to main content

CreateHotelBookingInput

Defines the input for creating a hotel booking.

input CreateHotelBookingInput {
checkInDate: LocalDate!
checkInEstimatedTime: LocalTime
checkOutDate: LocalDate!
checkOutEstimatedTime: LocalTime
comment: String
contactId: ID!
customFields: [CustomFieldInput!]
eventId: ID!
hotelId: ID!
itinerary: String
itineraryOrder: Int
numberOfRooms: PositiveInt
paymentDetails: CreatePaymentDetailsInput!
replaceStandardItinerary: Boolean
roomNumber: String
roomTypeId: ID!
sharingWith: String
specialRequests: String
temporaryHoldContextId: ID
transferFromHotel: TransferFromHotelInput
transferToHotel: TransferToHotelInput
}

Fields

CreateHotelBookingInput.checkInDate ● LocalDate! non-null scalar

The check-in date of the hotel booking.

CreateHotelBookingInput.checkInEstimatedTime ● LocalTime scalar

The estimated check-in time of the hotel booking. Optional.

CreateHotelBookingInput.checkOutDate ● LocalDate! non-null scalar

The check-out date of the hotel booking.

CreateHotelBookingInput.checkOutEstimatedTime ● LocalTime scalar

The estimated check-out time of the hotel booking. Optional.

CreateHotelBookingInput.comment ● String scalar

The comment for this hotel booking. Optional.

CreateHotelBookingInput.contactId ● ID! non-null scalar

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

CreateHotelBookingInput.customFields ● [CustomFieldInput!] list input

The list of custom field to create for the hotel booking. Optional.

CreateHotelBookingInput.eventId ● ID! non-null scalar

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

CreateHotelBookingInput.hotelId ● ID! non-null scalar

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

CreateHotelBookingInput.itinerary ● String scalar

A UTF-8 string representing the itinerary for the hotel booking. Optional.

CreateHotelBookingInput.itineraryOrder ● Int scalar

The order for the itinerary for the hotel booking. Optional.

The default is 0.

CreateHotelBookingInput.numberOfRooms ● PositiveInt scalar

The number of rooms for the hotel booking. Optional.

The default value is 1.

CreateHotelBookingInput.paymentDetails ● CreatePaymentDetailsInput! non-null input

The payment details for the hotel booking.

CreateHotelBookingInput.replaceStandardItinerary ● Boolean scalar

A flag indicating whether the itinerary should replace the standard itinerary. Optional.

The default value is false.

CreateHotelBookingInput.roomNumber ● String scalar

A UTF-8 string representing the room number for this hotel booking. Optional.

CreateHotelBookingInput.roomTypeId ● ID! non-null scalar

The identifier of the room type the hotel booking.

CreateHotelBookingInput.sharingWith ● String scalar

The name(s) of the person/people the contact is sharing this hotel booking with. Optional.

CreateHotelBookingInput.specialRequests ● String scalar

A UTF-8 string representing the special requests for the hotel booking. Optional.

CreateHotelBookingInput.temporaryHoldContextId ● ID scalar

A user-defined identifier representing the context for any previously created holds. If this ID is specified, any outstanding hold on the hotel booking will automatically be released when the hotel booking is successfully created. Optional.

CreateHotelBookingInput.transferFromHotel ● TransferFromHotelInput input

The transfer details from the hotel for the hotel booking. Optional.

CreateHotelBookingInput.transferToHotel ● TransferToHotelInput input

The transfer details to the hotel for the hotel booking. Optional.

Member Of

createHotelBooking mutation