Skip to main content

HotelBookInput

Offers versatility in book options, with certain fields marked as mandatory (optionRefId, clientReference, holder etc.) and others as optional (language, delta price, payment card etc.). This flexibility empowers you to create a personalized Book Multation, tailoring the requested fields to your specific needs.

input HotelBookInput {
optionRefId: String!
language: Language
clientReference: String!
deltaPrice: DeltaPriceInput
paymentCard: PaymentCardInput
remarks: String
holder: HolderInput!
rooms: [BookRoomInput!]!
}

Fields

HotelBookInput.optionRefId ● String! non-null scalar

OptionRefID is a unique identifier assigned to each option. It is important to note that this identifier should not be modified or used externally, as it is an internal system identifier. Additionally, it is crucial to understand that the OptionRefID value should not be interpreted in any other way beyond its use within the system.

HotelBookInput.language ● Language scalar

Language to be used in the request.

HotelBookInput.clientReference ● String! non-null scalar

Booking ID in the client's system.

HotelBookInput.deltaPrice ● DeltaPriceInput input

Input delta price, indicates price variation permitted by the client An error will be returned if the new price does not abide to DeltaPrice. If DeltaPrice is not sent and the integration implements it, we assume that the price range is 0 and the process will continue price is lower or equal to the price showed in valuation. This field is implemented if its native to the supplier or if another availability/valuation request needs to be done in Reservation. In case the supplier blocks the option in valuation, reservation

HotelBookInput.paymentCard ● PaymentCardInput input

If the payment is done by credit card, it's mandatory to specify the payment type and the credit card information.

HotelBookInput.remarks ● String scalar

Any customer comments for the supplier to consider.

HotelBookInput.holder ● HolderInput! non-null input

Holder's basic information.

HotelBookInput.rooms ● [BookRoomInput!]! non-null input

Rooms within this option.