Product Option Value
Requires access scope.
A specific value for a , such as "Red" or "Blue" for a "Color" option. Each value can be assigned to objects to create different versions of a Product.
The value tracks whether any variants currently use it through the field. Values can include visual representations through swatches that display colors or images. When linked to a Metafield, the provides additional structured data for the option value.
Anchor to FieldsFields
- Anchor to hasVariantshas•Boolean!
Variants non-null Whether the product option value has any linked variants.
- •ID!non-null
A globally-unique ID.
- Anchor to linkedMetafieldValuelinked•String
Metafield Value The value of the linked metafield.
- Anchor to namename•String!non-null
The name of the product option value.
- Anchor to swatchswatch•Product
Option Value Swatch The swatch associated with the product option value.
- Anchor to translationstranslations•[Translation!]!non-null
The published translations associated with the resource.
- Anchor to localelocale•String!required
Filters translations locale.
- Anchor to marketIdmarket•ID
Id Filters translations by market ID. Use this argument to retrieve content specific to a market.
Arguments