Skip to main content

setDestination

Sets the current destination search parameter of the Price Comparison widget, when on a multi-property host website.

Example

rpt({
widget: "price-comparison",
command: "setDestination",
payload: { destination: "rome" },
});

Payload

PropertyTypeDescription
destinationstringThe name of one of the destinations(case insensitive)