UpdateRoomTypeInput
Defines the input details for updating an existing room type.
input UpdateRoomTypeInput {
additionalPaymentStatuses: [AdditionalPaymentStatus!]
alternateCurrencyDepositFixedAmount: [MoneyInput!]
beddingConfiguration: String
customFields: [CustomFieldInput!]
depositFixedAmount: Float
depositPercentageAmount: Float
description: String
eventId: ID!
incomeAccountId: ID
inventoryAndRates: RoomTypeInventoryRateInput
itineraryInformation: String
maximumOccupancy: NonNegativeInt
name: String
paymentOption: RoomTypePaymentOption
photos: [UpdateRoomTypePhotoInput!]
roomTypeId: ID!
uniqueCode: String
}
Fields
UpdateRoomTypeInput.additionalPaymentStatuses ● [AdditionalPaymentStatus!] list enum
The additional valid payment statuses for this room type. Optional.
UpdateRoomTypeInput.alternateCurrencyDepositFixedAmount ● [MoneyInput!] list input
The fixed amount required for the deposit for this room type in alternate currencies. Optional.
Ignored unless the paymentOption is set to FIXED_AMOUNT_DEPOSIT
UpdateRoomTypeInput.beddingConfiguration ● String scalar
A UTF-8 string representing the bedding configuration of the room type. Optional.
UpdateRoomTypeInput.customFields ● [CustomFieldInput!] list input
The custom fields to create for the room type. Optional.
UpdateRoomTypeInput.depositFixedAmount ● Float scalar
The fixed amount required for the deposit for this room type in the default currency. Optional.
If paymentOption is set to FIXED_AMOUNT_DEPOSIT this field is required.
UpdateRoomTypeInput.depositPercentageAmount ● Float scalar
The percentage required for the deposit for this room type. Optional.
If paymentOption is set to PERCENTAGE_DEPOSIT this field is required.
UpdateRoomTypeInput.description ● String scalar
A UTF-8 string representing the description of the room type. Optional.
UpdateRoomTypeInput.eventId ● ID! non-null scalar
The identifier of the event the room type is associated with.
UpdateRoomTypeInput.incomeAccountId ● ID scalar
The identifier of the income account for the room type. Optional.
The value will default to the ID of the first income account in account number order.
UpdateRoomTypeInput.inventoryAndRates ● RoomTypeInventoryRateInput input
The inventory and rates for the room type. Optional.
If dailyInventoriesAndRates list is passed it must contain all dates that inventory and rates should be created or updated for, any dates not included will be removed.
UpdateRoomTypeInput.itineraryInformation ● String scalar
A UTF-8 string representing the itinerary information for room type. Optional.
UpdateRoomTypeInput.maximumOccupancy ● NonNegativeInt scalar
The maximum occupancy for the room type. Optional.
If set to 0, maximum occupancy is not applicable.
UpdateRoomTypeInput.name ● String scalar
A UTF-8 string representing the name of the room type. Optional.
UpdateRoomTypeInput.paymentOption ● RoomTypePaymentOption enum
The payment option for this room type. Optional.
UpdateRoomTypeInput.photos ● [UpdateRoomTypePhotoInput!] list input
A collection of photos to create with the room type. Optional.
UpdateRoomTypeInput.roomTypeId ● ID! non-null scalar
The identifier of the room type.
UpdateRoomTypeInput.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
updateRoomType mutation