WeightUnit

Enum

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

Valid values

ValueDescription
kgKilograms - Default unit for weight measurements. Supports up to 4 decimal places.
gGrams - Supports up to 1 decimal place.
lbPounds - Supports up to 4 decimal places.
ozOunces - Supports up to 4 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 weight.
Related: This enum is used for weight-based measurements. The measurement type is determined by the measurementType field in the Product object. See MeasurementType for more information.