Skip to main content
enum

Units of measurement for weight, supporting both metric and imperial systems. Used by ProductVariant to specify the unit for the variant's weight value.

Metric system unit of mass.

1 kilogram equals 1000 grams.

Imperial system unit of mass.

1 pound equals 16 ounces.


Was this section helpful?

•OBJECT

A specific version of a product available for sale, differentiated by options like size or color. For example, a small blue t-shirt and a large blue t-shirt are separate variants of the same product. For more information, see the docs on Shopify's product model.

For products with quantity rules, variants enforce minimum, maximum, and increment constraints on purchases.

Variants also support subscriptions and pre-orders through selling plan allocations objects, bundle configurations through product variant components objects, and shop pay installments pricing for flexible payment options.


Was this section helpful?