Skip to Content

ProductVariantOption

A selected option for a product variant, containing both the option and its selected value.

Type Definition

type ProductVariantOption { option: ProductOption value: ProductOptionValue }

Fields

FieldTypeDescription
optionProductOptionThe product option definition.
valueProductOptionValueThe selected value for this option.

Relationships

ProductVariantOption represents a pairing between a product option and its selected value within a product variant. The option field references the option definition, while the value field contains the specific selection made for that option. This type is used by ProductVariant to store the three possible option selections (option1, option2, and option3) that define a variant’s configuration.

Example

{ option { id name } value { id name } }

Implements

This type does not implement any interfaces.