Skip to main content

UpdateHotelInput

Defines the input details for updating a hotel.

input UpdateHotelInput {
additionalAmenities: String
address: AddressInput
amenities: [HotelAmenityInput!]
billingAddress: AddressInput
billingDetails: HotelBillingDetailsInput
commissionRate: Float
contactDetails: HotelContactDetailsInput
customFields: [CustomFieldInput!]
description: String
distanceFromVenue: Float
eventId: ID!
eventVenue: String
hotelId: ID!
inventory: HotelInventoryInput
mapLink: URL
name: String
photos: [UpdateHotelPhotoInput!]
selfRated: Boolean
standardCheckInTime: LocalTime
standardCheckOutTime: LocalTime
starRating: Float
termsConditions: String
uniqueCode: String
}

Fields

UpdateHotelInput.additionalAmenities ● String scalar

A UTF-8 string representing the additional amenities at the hotel. Optional.

UpdateHotelInput.address ● AddressInput input

The address of the hotel. Optional.

UpdateHotelInput.amenities ● [HotelAmenityInput!] list input

A collection of amenities to create/update for the hotel. Optional.

If a collection is passed, any amenity not included in the collection will be removed from the hotel.

UpdateHotelInput.billingAddress ● AddressInput input

The billing address of the hotel. Optional.

UpdateHotelInput.billingDetails ● HotelBillingDetailsInput input

The billing details of the hotel. Optional.

UpdateHotelInput.commissionRate ● Float scalar

The commission rate of the hotel. Optional.

UpdateHotelInput.contactDetails ● HotelContactDetailsInput input

The details of the contact of the hotel. Optional.

UpdateHotelInput.customFields ● [CustomFieldInput!] list input

The custom fields to update or create for the hotel. Optional.

UpdateHotelInput.description ● String scalar

A UTF-8 string representation the description of the hotel. Optional.

UpdateHotelInput.distanceFromVenue ● Float scalar

The distance from the hotel to the event venue. Optional.

UpdateHotelInput.eventId ● ID! non-null scalar

The identifier of the event the hotel is associated with.

UpdateHotelInput.eventVenue ● String scalar

The event venue for the distance from the hotel. Optional.

UpdateHotelInput.hotelId ● ID! non-null scalar

The identifier of the hotel.

UpdateHotelInput.inventory ● HotelInventoryInput input

The inventory for the hotel. Optional.

If dailyInventories list is passed must contain all dates that inventory should be created or updated for, any dates not included will be removed.

UpdateHotelInput.mapLink ● URL scalar

The URL for an external map link for this hotel. Optional.

UpdateHotelInput.name ● String scalar

A UTF-8 string representing the name of the hotel. Optional.

UpdateHotelInput.photos ● [UpdateHotelPhotoInput!] list input

The list of photos to create/update for the hotel. Optional.

Passing an empty list will remove all of the photos from the hotel. Omitting the input value entirely will keep the existing photos as-is.

When passing a list, for any existing photos where the id is not provided the photo will be removed.

UpdateHotelInput.selfRated ● Boolean scalar

A flag indicating if the star rating is self rated. Optional.

UpdateHotelInput.standardCheckInTime ● LocalTime scalar

The standard check in time of the hotel. Optional.

UpdateHotelInput.standardCheckOutTime ● LocalTime scalar

The standard check out time of the hotel. Optional.

UpdateHotelInput.starRating ● Float scalar

The star rating of the hotel. Optional.

UpdateHotelInput.termsConditions ● String scalar

A UTF-8 string representing the terms and conditions of the hotel. Optional.

UpdateHotelInput.uniqueCode ● String scalar

A customer supplied, UTF-8 string value that represents a unique code for the hotel. Optional.

The value must be unique across all hotels for an event.

Member Of

updateHotel mutation