Skip to main content
Anchor to UnitPriceMeasurement

UnitPriceMeasurement

object

The measurement data used to calculate unit prices for a ProductVariant. Unit pricing helps customers compare costs across different package sizes by showing a standardized price, such as "$9.99 / 100ml".

The object includes the quantity being sold (value and unit) and the reference measurement used for price comparison. Use this alongside the variant's unitPrice field to display complete unit pricing information.

•UnitPriceMeasurementMeasuredType

The type of unit of measurement for the unit price measurement.

•UnitPriceMeasurementMeasuredUnit

The quantity unit for the unit price measurement.

•Float!
non-null

The quantity value for the unit price measurement.

•UnitPriceMeasurementMeasuredUnit

The reference unit for the unit price measurement.

•Int!
non-null

The reference value for the unit price measurement.


Was this section helpful?