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
Property | Type | Description |
---|---|---|
destination | string | The name of one of the destinations(case insensitive) |