Skip to main content

AmendRoomsInput

Represents the input data for modifying the room configuration and occupancy details of an existing booking.

Properties

NameTypeDescription
ReferenceReferenceBooking references for identifying the reservation to be amended.
Reference/
ClientReference
StringThe client's internal reference for the booking.
Reference/
SupplierReference
StringThe supplier's reference for the booking.
RoomsArray<AmendRoom>The new room configuration for the booking. Each AmendRoom specifies a room type and its associated occupancy.
Rooms/OccupancyRefIdIntegerReference to the occupancy that will be assigned to this room. This links the room to its corresponding occupancy in the Occupancies list.
Rooms/CodeStringThe room type code (e.g., "DBL" for Double, "SGL" for Single, "TWN" for Twin).
OccupanciesArray<AmendOccupancy>The updated occupancy information with passenger details for each room. Each occupancy must have a unique OccupancyId that matches an OccupancyRefId in the Rooms list.
Occupancies/
OccupancyId
IntegerThe unique identifier for the occupancy. Must match the OccupancyRefId in Rooms to link passengers to their assigned room.
Occupancies/PaxesArray<BookPaxInput>The list of passengers in this occupancy.
Occupancies/Paxes/AgeIntegerThe age of the passenger.
Occupancies/Paxes/NameStringThe first name of the passenger.
Occupancies/Paxes/
SurName
StringThe surname (last name) of the passenger.
Occupancies/Paxes/
PersonalTitleType
PersonalTitleTypeThe personal title of the passenger (e.g., MR, MRS, MS, MISS, NOT_SPECIFIED).
Occupancies/Paxes/
DateOfBirth
StringDate of birth of the passenger, represented as a string in ISO 8601 format (YYYY-MM-DD).
Occupancies/Paxes/
IdentificationDocuments
Array<IdentificationDocument>Identification documents for the passenger (e.g., passport, ID card).
PaymentTypePaymentTypePayment type for the booking (e.g., Merchant, Direct). Optional - only required if the supplier needs payment details for the amendment.
PaymentCardInputCreditCardInputPayment card details, if applicable. Optional - only required if PaymentType is specified and card details are needed.