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
Property | Type | Description |
---|---|---|
checkin | string | A ISO 8601 date string |
checkout | string | A ISO 8601 date string |