Syncing calendars with iCal (Airbnb, Booking.com …)
Keep one apartment free of double bookings across channels: import the channel calendars into the plugin and give the channels the plugin's export link. Open Bookings -> iCal Imports and choose the apartment.
Export (plugin -> channel): the iCal Export Link box shows two private URLs for the selected apartment. Use the second (direct) URL by default: it contains only reservations made in this booking system and never sends a channel its own blocks back. The first (combined) URL contains all reservations, including blocks imported from other channels, so channels block each other. Use it only in special cases and with care: if it is set up incorrectly (for example a channel imports a link that includes its own blocks), blocks can circulate endlessly and dates stay blocked even after a booking is cancelled. Copy the URL and paste it into the channel's calendar import (Airbnb: Calendar -> Availability -> Connect calendars -> Import calendar; Booking.com: Rates & Availability -> Sync calendars). The URL contains a secret token, so do not publish it.
Import (channel -> plugin): copy the iCal export link from the channel, paste it into Add Import URL and click Add. The provider name is filled in automatically for Airbnb, Booking.com, e-chalupy.cz, Megaubytovanie, Hauzi and BezRealitky; for other calendars enter any name. Untick active to pause a feed. Add one feed per channel and apartment; use Delete to remove a feed.
Updates: feeds are imported automatically every 10 minutes. Run Import Now imports immediately. The table shows the last import time and the last error (for example an HTTP error or an invalid response). Channels refresh the links you gave them on their own schedule, which can take several hours, so a new booking is not blocked there instantly.
What the import does: every event becomes a blocked period in the calendar (source iCal and the provider name), so those dates cannot be booked on the website. Changed dates are updated. Future blocks that disappear from the feed are cancelled and staff can be notified (ical_cancelled trigger); cancelled blocks without payments, invoices, guest registrations or services are deleted after 14 days. An empty or invalid response never cancels anything. Airbnb events titled Not available (owner blocks without a reservation) are skipped. A reservation code is read from the summary or description when available.
Limits: iCal contains only dates, not prices or guest details, so imported reservations have no guest email or payment. Dates are whole days: the end date is the departure day (exclusive). The guest portal treats imported reservations as paid and hides the Payment section. Do not use an export link of the same apartment as its own import.
Where to find it: the feed list, Add Import URL and the export links are available both in Bookings -> iCal Imports and in Bookings -> Settings -> iCal Imports. Both show the same data for the apartment chosen at the top, so use whichever is more convenient. Choose the apartment first, because feeds and export links are set per apartment.
Global options (Bookings -> Settings -> iCal Imports) apply to all apartments. Import Airbnb "Not available" events as blocked dates is off by default: Airbnb uses this title both for your own blocks and for its own availability rules, and such events can appear and disappear, so enable it only if you block dates directly in Airbnb and want them blocked here too. Real reservations are always imported.
Closed periods in iCal export: when ticked, the closed months, date ranges and days of the year set in an apartment are exported as Blocked events for the next 2 years, so Booking.com, Airbnb and other portals block them too. It applies to both export links.
https://example.com/wp-json/vstrb/v1/ical/export/direct/123/YOUR_TOKEN.ics
https://example.com/wp-json/vstrb/v1/ical/export/123/YOUR_TOKEN.ics