Skip to main content
Skip to main content

CalculatedPriceSet

The calculated price for a specific price set and context.

idstringRequired
The ID of the price set.
calculated_amountnull | BigNumberValueRequired
The amount of the calculated price, or null if there isn't a calculated price.
original_amountnull | BigNumberValueRequired
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.idnull | stringRequired
The ID of the price 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 | BigNumberValueRequired
The min_quantity field defined on a price.
calculated_price.max_quantitynull | BigNumberValueRequired
The max_quantity field defined on a price.
original_price.idnull | stringRequired
The ID of the price 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 | BigNumberValueRequired
The min_quantity field defined on a price.
original_price.max_quantitynull | BigNumberValueRequired
The max_quantity field defined on a price.
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?