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
| Field | Type | Description |
|---|---|---|
| option | ProductOption | The product option definition. |
| value | ProductOptionValue | The selected value for this option. |
Relationships
ProductVariantOption represents the association 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 value that was selected for that option. This type is used to structure variant-specific option selections in the context of ProductVariant.
Example
{
option {
id
name
}
value {
id
name
}
}Implements
N/A