Skip to main content
Skip to main content

CalculatedPriceSet

The calculated price for a specific price set and context.

Properties

idstringRequired
The ID of the price set.
calculated_amountnull | numberRequired
The amount of the calculated price, or null if there isn't a calculated price.
original_amountnull | numberRequired
The amount of the original price, or null if there isn't a calculated price.
currency_codenull | stringRequired
The currency code of the calculated price, or null if there isn't a calculated price.
calculated_price.money_amount_idnull | stringRequired
The ID of the money amount selected as the calculated price.
calculated_price.price_list_idnull | stringRequired
The ID of the associated price list, if any.
calculated_price.price_list_typenull | stringRequired
The type of the associated price list, if any.
calculated_price.min_quantitynull | numberRequired
The min_quantity field defined on a money amount.
calculated_price.max_quantitynull | numberRequired
The max_quantity field defined on a money amount.
original_price.money_amount_idnull | stringRequired
The ID of the money amount selected as the original price.
original_price.price_list_idnull | stringRequired
The ID of the associated price list, if any.
original_price.price_list_typenull | stringRequired
The type of the associated price list, if any.
original_price.min_quantitynull | numberRequired
The min_quantity field defined on a money amount.
original_price.max_quantitynull | numberRequired
The max_quantity field defined on a money amount.
is_calculated_price_price_listboolean
Whether the calculated price is associated with a price list. During the calculation process, if no valid price list is found, the calculated price is set to the original price, which doesn't belong to a price list. In that case, the value of this property is false.
is_original_price_price_listboolean
Whether the original price is associated with a price list. During the calculation process, if the price list of the calculated price is of type override, the original price will be the same as the calculated price. In that case, the value of this property is true.
calculated_priceobject
The details of the calculated price.
original_priceobject
The details of the original price.
Was this section helpful?