LengthUnit

Enum

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'.

Valid values

ValueDescription
mMeters - Default unit for length measurements. Supports up to 3 decimal places.
cmCentimeters - Supports up to 2 decimal places.
mmMillimeters - Supports up to 1 decimal place.
ftFoot - Supports up to 3 decimal places.
inInches - Supports up to 3 decimal places.
ydYards - 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 length.
Related: This enum is used for length-based measurements. The measurement type is determined by the measurementType field in the Product object. See MeasurementType for more information.