ProductOption object

Version 2020-01 (Release candidate)

Custom product property names like "Size", "Color", and "Material". Products are based on permutations of these options. A product may have a maximum of 3 options. 255 characters limit each.

Required access

read_products access scope

Fields

id (ID!)

Globally unique identifier.

name (String!)

The product option’s name.

position (Int!)

The product option's position.

translations ([PublishedTranslation!]!)

The translations associated with the resource.

locale ( String! ) required

Filters translations locale.

values ([String!]!)

The corresponding value to the product option name.

Types that return ProductOption

Implements

Version 2019-10 (Latest)

Custom product property names like "Size", "Color", and "Material". Products are based on permutations of these options. A product may have a maximum of 3 options. 255 characters limit each.

Required access

read_products access scope

Fields

id (ID!)

Globally unique identifier.

name (String!)

The product option’s name.

position (Int!)

The product option's position.

translations ([PublishedTranslation!]!)

The translations associated with the resource.

locale ( String! ) required

Filters translations locale.

values ([String!]!)

The corresponding value to the product option name.

Types that return ProductOption

Implements

Version 2019-07

Custom product property names like "Size", "Color", and "Material". Products are based on permutations of these options. A product may have a maximum of 3 options. 255 characters limit each.

Required access

read_products access scope

Fields

id (ID!)

Globally unique identifier.

name (String!)

The product option’s name.

position (Int!)

The product option's position.

values ([String!]!)

The corresponding value to the product option name.

Types that return ProductOption

Implements

Version 2019-04

Custom product property names like "Size", "Color", and "Material". Products are based on permutations of these options. A product may have a maximum of 3 options. 255 characters limit each.

Required access

read_products access scope

Fields

id (ID!)

Globally unique identifier.

name (String!)

The product option’s name.

position (Int!)

The product option's position.

values ([String!]!)

The corresponding value to the product option name.

Types that return ProductOption

Implements

Sign up for a Partner account to get started.

Sign up