add_to_cart
POST/api/method/bookingzone.api.cart.add_to_cart
Adds an item to the customer's cart and holds what it needs, such as a room, so nobody else can book it during checkout.
The request carries the item, outlet, date, start and end time, and number of guests.
The hold ends if the customer does not finish within the checkout time limit.
Login needed: No.
Request
Responses
- 200
Successful response