defaultCurrencyis the default currency for this product, if you omit the
currencyparameter on future endpoints this is the value Peek Pro will fallback to.
availableCurrenciesare all the possible currencies that we accept for this product.
pricingPerindicates whether the pricing is per unit (most common), or per booking. Pricing which is per booking is common for private charters or group booking products where the price is the same regardless of how many tickets are purchased.
pricingPer = "UNIT", on each Unit (adult, child, etc.) we add the following:
pricingPer = "BOOKING"then these fields will be on the Product itself instead of the Unit as the pricing applies once to the booking regardless of how many units (tickets) are purchased.
pricingFromobject for each currency in
availableCurrencies. The meaning of each pricing field is given below:
price / (10 ** currencyPrecision)where ** is to the power of e.g.
unitPricingFromfield with an array of unit prices in the currency for example:
unitsto the request then we'll give the total pricing for the selection under the
pricingFromfield, which is also included by default if
pricingPer = BOOKINGas the number of units isn't needed to know what the price of the booking is. For example:
pricingFromvalue calculated for you makes it much easier to display a single price on each date on the calendar (assuming the guest has chosen how many units they want before you display the calendar).
pricing(without the From suffix). That is because this is the final price, and this is what the booking will be once confirmed.
pricingfield which gives you the final price of the booking as well as any included taxes. The final price includes tax, and should be what you display to the guest as the amount they need to pay.