stack

Home > @infiniteobjects/shopify-data-manager > AdminTypes > ProductOption

AdminTypes.ProductOption interface

The product property names. For example, “Size”, “Color”, and “Material”. Variants are selected based on permutations of these options. The limit for each product property name is 255 characters.

Signature:

export interface ProductOption extends HasPublishedTranslations, Node 

Extends: HasPublishedTranslations, Node

Properties

Property Modifiers Type Description
id   Scalars[‘ID’][‘output’] A globally-unique ID.
name   Scalars[‘String’][‘output’] The product option’s name.
position   Scalars[‘Int’][‘output’] The product option’s position.
translations   Array<Translation> The translations associated with the resource.
values   Array<Scalars[‘String’][‘output’]> The corresponding value to the product option name.