Ok, a tricky one here I think…
I’ve set up some API calls to timekit.io that works nice. This is a appointment scheduling service.
On a page in Bubble I have a html element that displays a timekit.io booking calendar that is configured based on some API calls I make in Bubble.
I have everything working except one thing…
In the calendar that is displayed inside the html element, a user can select a time slot and click “BOOK IT”. This triggers a POST call (within the html element,not in bubble) which generates a booking in timekit.io . I need to save the ID of this booking that is generated.
Thing is, since the POST call is generated within the html element, I don’t think I can access the results from the call.
Can anyone think of a way to work around this somehow?
Is it possible to have bubble somehow know that the “BOOK IT” button within the html element is clicked ? If so, maybe that could trigger a GET call to recieve the latest booking ID ?