ProductOption
Describes a product option.
Type Definition
type ProductOption {
isForCombinedListing: Boolean
handle: String
sortOrder: Int
title: String
taxonomyAttributeId: Int
taxonomyAttributeHandle: String
taxonomyAttribute: ProductTaxonomyAttribute
values: [ProductOptionValue]
selectedValue: ProductOptionValue
}Fields
Relationships
ProductOption represents a configurable option available for a product. It maintains relationships with ProductTaxonomyAttribute, which provides standardized attribute information, and ProductOptionValue, which represents the individual values available for selection within this option. This type is used by ProductVariantOption to provide option details for product variants.
Example
{
isForCombinedListing
handle
sortOrder
title
taxonomyAttributeId
taxonomyAttributeHandle
taxonomyAttribute {
id
handle
}
values {
id
title
}
selectedValue {
id
title
}
}Implements
None