I am using the Wix REST APIs. I am trying to Book a member for a Course via REST APIs.
To create the Booking, I am using the Bookings v2 - Create Booking
https://www.wixapis.com/bookings/v2/bookings
I am creating the booking successfully, but it is saying that there is no order attached. And the documentation says to use EComm APIs.
This is the problem that I’m trying to solve.
I am using the Ecomm API to Create Order:
https://www.wixapis.com/ecom/v1/orders
- I cannot find the catalogItemId for the Course offering. To find it, I created an online order and used the Rest API to Get Order and found the GUID. There has to be a better way.
- This is not “attaching” the order to the booking. How do I relate these two things to complete the process?