ProductPrice

A ProductPrice represents a specific price break for a Product or ProductVariant.

Properties

NameTypeDescription
IdintThe ID of the product price.
ProductIdintThe ID of the product that the price applies to.
Product (via $expand)ProductThe product that the price applies to.
ProductVariantIdintOptional. The ID of the product variant that the price applies to. If null, the price applies to all variants of the product.
ProductVariant (via $expand)ProductVariantThe product variant that the price applies to.
CustomerRoleIdintOptional. The ID of the customer role that the price applies to. If null, the price applies to all customers.
CustomerRole (via $expand)CustomerRoleThe customer role that the price applies to.
QuantityintThe quantity price break the price applies to.
PricedecimalThe extended end customer product price at the specified quantity. (The extended price is calculated as the unit price * quantity.)
CostdecimalThe extended product cost at the specified quantity. (The extended cost is calculated as the unit cost * quantity.)