Get booking ID when booking is placed

Thats for your reply and clarifying a few things.

If i remove the event from the function params, then how will it get the bookingId though? as it refers to “event . booking . _id” in the body of the funciton.

(https://www.wix.com/velo/reference/wix-bookings-backend/events/onbookingconfirmed)

The whole aim of this is to get that bookingID of the booking the user just booked. if there is a better, easier, preferred way i am all ears! :slight_smile: