PostCalculate Price

Developer Preview

This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.

The Custom Pricing extension lets site owners add custom pricing to bookings on the site. The custom pricing is calculated and used as the basis for the price when checking out the booking, overriding the standard Bookings pricing logic.

Parameter: An Options object, which contains the booking. Response: An object that contains the calculatedPrice:

Copy
1
{
2
"calculatedPrice": 100
3
}
Was this helpful?
Yes
No