Channels and calendar exchange

Channel connections, listing mappings, and iCalendar import and export.

Route: /dashboard/platform/channels. Needs canManageChannels.

A ChannelConnection has a provider (direct, airbnb, vrbo, booking_com, ical, pms), a connection type (api, webhook, ical, manual), and status (pending, active, paused, error, disconnected). ChannelListing maps a listing to the external one; ChannelReservation and ChannelSyncEvent record imports and events.

The installed adapters are direct and ical. The ical adapter handles availability.

Create the connection

Add an ical connection and map each listing.

Import

Paste calendar text into importListingCalendar, or save the channel's https:// calendar link on the mapping. Imported dates become calendar blocks. Linked calendars are re-read as a full snapshot when the Channels page loads (if over an hour stale) and when staff press Refresh calendar links (refreshCalendarSubscriptions).

Export

Fetch exportListingCalendar output, or give the other channel the listing's feed URL /api/calendar/[listingId]/[feed].ics. The feed key is secret per listing; a wrong key is a 404.

Failures show as "Calendar import is unavailable" with the blocker.

On this page