How Wix Bookings uses the Calendar APIs

Wix Bookings integrates with the Calendar APIs in several key ways:

  • App ID filter: Wix Bookings passes its app ID when creating a schedule. Only schedules with {"appId": "13d21c63-b5ec-5912-8397-c3a5ddb27a97"} are displayed in the Bookings calendar.
  • Service schedules: Each Bookings service has its own schedule, where all events related to the service are created. This makes it easy to filter events by service.
  • Staff member schedules: Each Bookings staff member has 2 types of schedules:
    • Working hours schedule: Defines the staff member's available working hours.
    • Event schedule: Tracks when the staff member blocks their availability, for example during vacation. This schedule doesn’t include their appointments, or course and class sessions.
  • Availability calculating: When determining appointment availability, the Bookings availability calendar considers the staff member's working hours schedule, their event schedule, and any event associated with the staff member, like an appointment, course, or class session.
  • Custom event types: Wix Bookings defines 3 custom event types: APPOINTMENT, CLASS, and COURSE, to differentiate between service types.
  • Participation tracking: For courses, Wix Bookings associates participation details with a schedule. For classes and appointments, Wix Bookings associates participation details with an event.
  • Course dates: Wix Bookings uses the Schedule Time Frames API to determine when courses start and end.
Did this help?