MeasurementType

Enum

The MeasurementType enum defines the type of measurement used for a product. Each measurement type supports multiple units and determines how products are sold and priced.

Valid values

ValueDescription
weightWeight-based measurements. Supported units include kg, g, lb, oz, and more.
lengthLength-based measurements. Supported units include m, cm, mm, ft, in, yd, and more.
areaArea-based measurements. Supported units include m², cm², ft², in², and more.
volumeVolume-based measurements. Supported units include L, mL, gal, pt, fl oz, m³, cu yd, and more.
timeTime-based measurements. Supported units include ms, s, min, h, d, wk, and more.
Type: This is a string enum type. The measurementType field in the Product object accepts one of these values.
Related: This enum is used in the measurementType field of the Product object. All variants of a product share the same measurement type. The measurement type determines which units are available in the Measurement object.