Skip to main content

setGlobalHotel

Change the selected hotel.

  • Only applies to multi-property hosts
  • Affects the results of the PriceComparison module and the default hotel selection in the GetAQuote module.

Example

rpt({
widget: "general",
command: "setGlobalHotel",
payload: { hotelcode: "CYPRIA" },
});

Payload

PropertyTypeDescription
hotelcodestringA hotel's unique code