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.

The unit_price_measurement object has the following properties:

unit_price_measurement.measured_type

Returns the type of measurement as a string. For example, volume.

unit_price_measurement.quantity_unit

Returns the unit of measurement that's used to measure the quantity_value. For eample, l.

unit_price_measurement.quantity_value

Returns the quantity of the unit that's included. For example, 2.5.

unit_price_measurement.reference_unit

Returns the unit of measurement that's used to measure the reference_value. For eample, ml.

unit_price_measurement.reference_value

Returns the reference value that's used to illustrate the base unit price. For example, 100.