The LengthUnit enum defines all available length unit options for length-based measurements. These units are used in the Measurement object when the measurement type is 'length'.
| Value | Description |
|---|---|
| m | Meters - Default unit for length measurements. Supports up to 3 decimal places. |
| cm | Centimeters - Supports up to 2 decimal places. |
| mm | Millimeters - Supports up to 1 decimal place. |
| ft | Foot - Supports up to 3 decimal places. |
| in | Inches - Supports up to 3 decimal places. |
| yd | Yards - Supports up to 3 decimal places. |
unit field in the Measurement object accepts one of these values when the measurement type is length.measurementType field in the Product object. See MeasurementType for more information.