Reservations for Bookable Products

Bookable products may have a list of bookings associated with them. A booking is typically inserted in the OrderIntegrationMgr once the order has been paid for. If for example a bookable product represents a course, then you may define a maximum number of bookings (people attending the course) which is taken into consideration when inserting new ones. When reserving stock for such a bookable product, what you really want to reserve are places on the course to give you the time to check out without the places being lost.

Stock reservation functionality uses the product quantity attribute, so In order to successfully use stock reservation with bookable products you need to do the following:

For the Admin App there is an updateInventoryWithBookings attribute on the AdminBookableProductOptions object. In this case the quantity attribute of the Product object is modified both when a booking is inserted and when one is deleted.