This guide helps you migrate from Availability Calendar to the current Time Slots V2 API. Availability Calendar will be removed on March 31, 2026.
The Availability Calendar API provided a single method to retrieve appointment slot and class event availability information. This functionality has been redesigned and enhanced in the Time Slots V2 API with improved performance, better filtering capabilities, and support for multi-service bookings.
The Time Slots V2 API provides separate methods for:
| Availability Calendar | Time Slots V2 |
|---|---|
| Query Availability (appointments) | List Availability Time Slots |
| Query Availability (classes) | List Event Time Slots |
| N/A (new capability) | List Multi Service Availability Time Slots |
Time Slots V2 also provides Get methods to confirm availability immediately before calling Create Booking, helping you avoid double-booking conflicts.
To migrate your code, follow these steps:
Update imports and URLs: Replace the JavaScript import statements or API call URLs in your code.
Migrate appointment availability: Replace Query Availability calls for appointments with List Availability Time Slots:
startDate/endDate to fromLocalDate/toLocalDate with local time format.Migrate class availability: Replace Query Availability calls for classes with List Event Time Slots:
serviceIds array instead of single serviceId.Leverage new capabilities: Consider using List Multi Service Availability Time Slots for sequential multi-service bookings if applicable to your use case.
Add availability confirmation: Use the appropriate Get method (Get Availability Time Slot, Get Event Time Slot, or Get Multi Service Availability Time Slot) just before creating each booking to avoid conflicts.
Test and validate: Run both APIs in parallel during migration to ensure feature parity and correct data handling.
For complete step-by-step implementation examples, you can follow the end-to-end booking flows.