SelectedOption
One option of a product variant — e.g. { name: "Size", value: "Large" }.
type SelectedOption {
name: String!
optionValueId: ID
value: String!
}
Fields
SelectedOption.name ● String! non-null scalar
Option name (e.g. "Size", "Color").
SelectedOption.optionValueId ● ID scalar
Stable ID of the option value — useful as a key when rendering variant selectors. Null only for legacy variants not yet migrated to relational option values.
SelectedOption.value ● String! non-null scalar
Option value for this variant (e.g. "Large", "Red").
Member Of
ProductVariant object