-
Hi, We are using the React component to embed Cal.com's booking widget. We are also using the In the documentation we found the
However, none of these data properties list the bookingId which we would need in our setup. Any help? Thanks! Code snippetcal('on', {
action: 'bookingSuccessful',
callback: (e: { detail: { data: any } }) => {
// `data` is properties for the event.
const { data } = e.detail
// `confirmed`: whether confirmation from organizer is pending or not
// `eventType`: Object for Event Type that has been booked
// `date`: date of Event
const { confirmed, eventType, date } = data
onBookingSuccessful({
confirmed,
eventType: eventType,
date,
})
},
}) |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
@hariombalhara @PeerRich Bumping this discussion. Any advice or alternative route we could access the |
Beta Was this translation helpful? Give feedback.
@hariombalhara @PeerRich Bumping this discussion. Any advice or alternative route we could access the
bookingId
of the just created booking through thebookingSuccessful
action?