Skip to main content

calculate_total

POST 

/api/method/bookingzone.api.pricing_engine.calculate_total

Works out the price of a booking before the customer pays.

It uses the chosen item, number of guests, date and start time, plus any add-ons and promo code. It can price either a deposit or the full amount.

The response gives the price breakdown, including the base price, tax and grand total.

Login needed: No.

Request​

Responses​

Successful response