The unit_price_measurement object contains information about how the units of a product variant are measured. The unit_price attribute uses it to calculate unit prices.
The unit_price_measurement object has the following properties:
unitpricemeasurement.measured_type
Returns the type of measurement as a string, for example volume.
unitpricemeasurement.quantity_unit
Returns the unit used to measure quantity_value, for example l.
unitpricemeasurement.quantity_value
Returns the quantity of the included unit, for example 2.5.
unitpricemeasurement.reference_unit
Returns the unit used to measure reference_value, for example ml.
unitpricemeasurement.reference_value
Returns the reference value used to show the base unit price, for example 100.
VersaCommerce note: The object is available when base price calculation is enabled for the product or variant.