Docs
Dashboard

ProductVariantWeightInput

Input

The input model for product variant weight, containing the weight value and its unit of measurement.

#

Fields


unit
WeightUnit!

The unit of measurement for the weight value, such as grams, kilograms, etc.

Possible enum values
  • GRAM

    Represents a weight measured in grams.

  • KILOGRAM

    Represents a weight measured in kilograms.

value
Decimal!

The weight value of the product variant