The unit_price_measurement object

The unit_price_measurement object contains information about how units of a product variant are measured. It's used by the unit_price attribute to calculate unit prices. For example, see line_item.unit_price.

The unit_price_measurement object has the following properties:

Property Type Description
measured_type string The type of measurement. For example, volume.
quantity_unit string The unit of measurement that's used to measure the quantity_value. For example, l.
quantity_value float The quantity of the unit that's included. For example, 2.5.
reference_unit string The unit used to measure the quantity of the reference_value. For example, ml.
reference_value integer The reference value that's used to illustrate the base unit price. For example, 100.

Ready to start selling with Shopify?

Try it free