Anchor to ProductOptionProduct
objectProduct Option
Requires access scope.
A customizable product attribute that customers select when purchasing, such as "Size", "Color", or "Material". Each option has a name and a set of objects representing the available choices.
Different combinations of option values create distinct objects. Option values can include visual swatches that display colors or images to help customers make selections. Option names have a 255-character limit.
Learn more about Shopify's product model.
Anchor to FieldsFields
- id (ID!)
- name (String!)
- optionValues ([ProductOptionValue!]!)
- values ([String!]!): deprecated
- •ID!non-null
A globally-unique ID.
- Anchor to namename•String!non-null
The product option’s name.
- Anchor to optionValuesoption•[Product
Values Option Value!]! non-null The corresponding option value to the product option.
- Anchor to valuesvalues•[String!]!non-nullDeprecated
Was this section helpful?