This article explains how Wix Bookings integrates with the Calendar APIs to manage scheduling, and provides migration guidance for developers moving from deprecated APIs.
Important:
All Calendar-related APIs under Bookings are deprecated. For all calendar functionality, use the dedicated Calendar APIs.
Exception: The Bookings External Calendar V2 API remains active and provides the current solution for external calendar integration.
Wix Bookings uses the Calendar APIs to manage all scheduling and availability for businesses. This unified approach handles appointments, classes, courses, and resource scheduling through a single calendar system, replacing the previous deprecated Bookings-specific calendar APIs.
With the Calendar APIs you can:
Important:
Wix Bookings automatically creates and manages schedules, events, and participation details when you create resources, staff members, or bookings. For most Bookings integrations, you need primarily to retrieve schedules, events, or participations rather than create them.
For external calendar integration, use the Bookings External Calendar V2 API which remains active under Bookings to connect with providers such as Google, Microsoft, and Apple calendars.
Every bookable item in Wix Bookings connects to the calendar system to manage availability and prevent conflicts. All resources have an event schedule - this is their calendar that shows when they're booked and contains information about all related bookings.
Resources work differently depending on their type:
When working with schedules in a Wix Bookings context, you need to filter data to show only Bookings-related schedules. Wix Bookings uses a dedicated app ID (13d21c63-b5ec-5912-8397-c3a5ddb27a97
) when creating schedules.
Why this matters: The Bookings calendar display filters schedules to show only those with this specific app ID, ensuring proper data isolation. If you're building integrations that display calendar data, you should apply the same filtering to maintain consistency with the Bookings interface.
Each business has a main schedule that defines its operating hours and availability. Wix Bookings automatically calculates business opening hours based on the businessSchedule
field from the site properties.
The schedule always has the same externalId
with the value 4e0579a5-491e-4e70-a872-d097eed6e520
. To access the business schedule, call Query Schedules with a filter based on this external ID.
To retrieve events for the business schedule, call Query Events with a query filter specifying externalScheduleId
in the query.filter
.
The Bookings External Calendar V2 API provides integration with external calendar providers such as Google Calendar, Microsoft Calendar, and Apple Calendar. This API enables bidirectional synchronization between Wix Bookings and external calendars. Businesses can import events from external calendars and export Wix Bookings events to external calendars.
To migrate from deprecated Bookings Calendar APIs to the new Calendar V3 APIs:
13d21c63-b5ec-5912-8397-c3a5ddb27a97
for all Bookings-related schedules."externalId": "4e0579a5-491e-4e70-a872-d097eed6e520"
when managing the business schedule.query.filter
.