ProductPrice

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

Properties

Name

Type

Description

Id

int

The ID of the product price.

ProductId

int

The ID of the product that the price applies to.

Product (via $expand)

Product

The product that the price applies to.

ProductVariantId

int

Optional. 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)

ProductVariant

The product variant that the price applies to.

CustomerRoleId

int

Optional. The ID of the customer role that the price applies to. If null, the price applies to all customers.

CustomerRole (via $expand)

CustomerRole

The customer role that the price applies to.

Quantity

int

The quantity price break the price applies to.

Price

decimal

The extended end customer product price at the specified quantity. (The extended price is calculated as the unit price * quantity.)

Cost

decimal

The extended product cost at the specified quantity. (The extended cost is calculated as the unit cost * quantity.)