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'.
| Value | Description |
|---|---|
| L | Liters - Default unit for volume measurements. Supports up to 4 decimal places. |
| mL | Milliliters - Supports up to 1 decimal place. |
| gal | Gallons - Supports up to 3 decimal places. |
| pt | Pints - Supports up to 2 decimal places. |
| fl oz | Fluid ounces - Supports up to 2 decimal places. |
| m³ | Cubic meters - Supports up to 3 decimal places. |
| cu yd | Cubic yards - Supports up to 3 decimal places. |
unit field in the Measurement object accepts one of these values when the measurement type is volume.measurementType field in the Product object. See MeasurementType for more information.