VolumeUnit

Enum

The VolumeUnit enum defines all available volume unit options for volume-based measurements. These units are used in the Measurement object when the measurement type is 'volume'.

Valid values

ValueDescription
LLiters - Default unit for volume measurements. Supports up to 4 decimal places.
mLMilliliters - Supports up to 1 decimal place.
galGallons - Supports up to 3 decimal places.
ptPints - Supports up to 2 decimal places.
fl ozFluid ounces - Supports up to 2 decimal places.
Cubic meters - Supports up to 3 decimal places.
cu ydCubic yards - Supports up to 3 decimal places.
Type: This is a string enum type. The unit field in the Measurement object accepts one of these values when the measurement type is volume.
Related: This enum is used for volume-based measurements. The measurement type is determined by the measurementType field in the Product object. See MeasurementType for more information.