defaultCurrency
is the default currency for this product, if you omit the currency
parameter on future endpoints this is the value Peek Pro will fallback to. availableCurrencies
are all the possible currencies that we accept for this product.pricingPer
indicates 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.pricingFrom
object for each currency in availableCurrencies
. The meaning of each pricing field is given below:original
retail
net
currency
currencyPrecision
price / (10 ** currencyPrecision)
where ** is to the power of e.g. Math.pow(10, currencyPrecision)
.includedTaxes
From
to indicate this is indicative and not the final price. Make sure you communicate this also to the customer.unitPricingFrom
field with an array of unit prices in the currency for example:units
to the request then we'll give the total pricing for the selection under the pricingFrom
field, which is also included by default if pricingPer = BOOKING
as the number of units isn't needed to know what the price of the booking is. For example:pricingFrom
value 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).unitPricing
and pricing
(without the From suffix). That is because this is the final price, and this is what the booking will be once confirmed.pricing
field 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.