Link Search Menu Expand Document

Price

object

Attributes

price.fractional

number

The price for this occupancy represented in the sub-unit of the current customer’s currency. e.g. considering the amount $19.50, it will return 1950.

price.per_person_fractional

number

The price per person represented in the sub-unit of the current customer’s currency. e.g. considering a price of $20 with an occupancy of 2, it will return 10.

price.occupancy

number

The occupancy associated with this price, i.e. if the variant is purchased with this occupancy, this is what the price will be.

price.price

string

deprecated

The price for this occupancy represented in the sub-unit of the current customer’s currency. e.g. considering the amount $19.50, it will return 1950.

Deprecated, use price.fractional instead.