ProductOption object
Product property names like “Size”, “Color”, and “Material”. Variants are selected based on permutations of these options. 255 characters limit each.
Required access
read_products
access scope.
On this page
Fields
- id (
[ID!](https://shopify.dev/docs/admin-api/graphql/reference/scalar#id-2021-01)
)
Globally unique identifier. - name (
[String!](https://shopify.dev/docs/admin-api/graphql/reference/scalar#string-2021-01)
)
The product option’s name. - position (
[Int!](https://shopify.dev/docs/admin-api/graphql/reference/scalar#int-2021-01)
)
The product option’s position. - translations (
[[PublishedTranslation!]!](https://shopify.dev/docs/admin-api/graphql/reference/translations/publishedtranslation)
)
The translations associated with the resource.
Argument | Description |
---|---|
locale ( [String!](https://shopify.dev/docs/admin-api/graphql/reference/scalar#string-2021-01) ) REQUIRED |
Filters translations locale. |
- values (
[[String!]!](https://shopify.dev/docs/admin-api/graphql/reference/scalar#string-2021-01)
)
The corresponding value to the product option name.
Types that return ProductOption
[Product.options](https://shopify.dev/docs/admin-api/graphql/reference/products-and-collections/product#options-2021-01)
Implements
[HasPublishedTranslations](https://shopify.dev/docs/admin-api/graphql/reference/translations/haspublishedtranslations)
[Node](https://shopify.dev/docs/admin-api/graphql/reference/common-objects/node)