Hi everyone,
I’m currently working on a WordPress plugin that integrates YouCanBook.me (YCBM) with Ultimate Member. The goal is to fetch the number of bookings associated with each logged-in user based on their email address (which matches the email used in YCBM bookings).
I already have the YCBM API Key, but I’m not entirely sure how to:
- Fetch all bookings for a specific email address
- Count how many bookings are associated with that email
- (Optional) Filter bookings by status (e.g., only confirmed)
Could someone point me to the correct endpoint and example API request to achieve this?