Skip to main content

setGlobalDates

Change the dates that some modules use to fetch availability data.

Example

rpt({
widget: "general",
command: "setGlobalDates",
payload: { checkin: "2023-5-1", checkout: "2023-5-3" },
});
note

Dates can not be partially updated. Both checkin and checkout need to be provided.

Payload

PropertyTypeDescription
checkinstringA ISO 8601 date string
checkoutstringA ISO 8601 date string