This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.
Use confirmOrDeclineBooking()
to determine if the booking is valid, payment is received, and the booking can be processed.
Call confirmOrDeclineBooking()
after checkout or after calling createBooking()
to verify the booking.
confirmOrDeclineBooking()
can catch this and decline the duplicate booking, the booking is not visible on the calendar.You can only call this method when authenticated as a Wix app or Wix user identity.
ID of the booking to confirm or decline.