create_booking
POST/api/method/bookingzone.api.booking_transaction.create_booking
Creates a booking.
The request carries the customer's details and the items being booked. It can also carry a promo code, a payment and the cart the booking came from.
Customer details are required. The same booking cannot be created twice: if the request is repeated, or the cart already has a booking, the existing booking is returned instead.
Login needed: No.
Request
Responses
- 200
Successful response