Anchor to UnitPriceMeasurementUnit
objectUnit Price Measurement
The measurement data used to calculate unit prices for a . 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 field to display complete unit pricing information.
Anchor to FieldsFields
- measuredType (UnitPriceMeasurementMeasuredType)
- quantityUnit (UnitPriceMeasurementMeasuredUnit)
- quantityValue (Float!)
- referenceUnit (UnitPriceMeasurementMeasuredUnit)
- referenceValue (Int!)
- Anchor to measuredTypemeasured•Unit
Type Price Measurement Measured Type The type of unit of measurement for the unit price measurement.
- Anchor to quantityUnitquantity•Unit
Unit Price Measurement Measured Unit The quantity unit for the unit price measurement.
- Anchor to quantityValuequantity•Float!
Value non-null The quantity value for the unit price measurement.
- Anchor to referenceUnitreference•Unit
Unit Price Measurement Measured Unit The reference unit for the unit price measurement.
- Anchor to referenceValuereference•Int!
Value non-null The reference value for the unit price measurement.
Was this section helpful?