Sync Booking Database with 3rd Party Database

I have two booking systems, Wix and back-office applications. I need to sync them periodically. My questions are:

  1. where Wix keeps out the box booking database with appointments, as I see Schedule, Services and Staff db’s only? I need to read these appointments and send them to 3rd party API for processing.

  2. How do I create new appointments programmatically by inserting new records into Wix appointment db, which is actually not presented in the Wix database structure?

  3. Can I create custom database for my Wix appointments and make Wix out the box booking application to work with this custom database?

Wic Bookings is still a Wix app and you are limited as to what you can do with it through Wix Corvid.
https://support.wix.com/en/article/request-syncing-wix-bookings-with-additional-calendars-or-other-booking-platforms

https://support.wix.com/en/corvid-by-wix/wix-bookings-with-corvid
This link will give you all the info about the three datasets that you can read only.

https://support.wix.com/en/article/corvid-ideas-for-working-with-your-wix-bookings-app-collections

Finally, for more info about Wix Bookings, please read their own Wix Support pages.
https://support.wix.com/en/wix-bookings/setting-up-wix-bookings