API version: unstable
API version: 2021-04 Release candidate
API version: 2021-01 Latest
API version: 2020-10
API version: 2020-07
API version: 2020-04
API version: 2020-01 Unsupported
API version: 2019-10 Unsupported

ProductOption object

Version unstable

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.

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.

    Argument Description
    locale ( String! ) required

    Filters translations locale.

  • values ([String!]!)

    The corresponding value to the product option name.

Types that return ProductOption

Implements

Version 2021-04 (Release candidate)

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.

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.

    Argument Description
    locale ( String! ) required

    Filters translations locale.

  • values ([String!]!)

    The corresponding value to the product option name.

Types that return ProductOption

Implements

Version 2021-01 (Latest)

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.

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.

    Argument Description
    locale ( String! ) required

    Filters translations locale.

  • values ([String!]!)

    The corresponding value to the product option name.

Types that return ProductOption

Implements

Version 2020-10

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.

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.

    Argument Description
    locale ( String! ) required

    Filters translations locale.

  • values ([String!]!)

    The corresponding value to the product option name.

Types that return ProductOption

Implements

Version 2020-07

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.

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.

    Argument Description
    locale ( String! ) required

    Filters translations locale.

  • values ([String!]!)

    The corresponding value to the product option name.

Types that return ProductOption

Implements

Version 2020-04

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.

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.

    Argument Description
    locale ( String! ) required

    Filters translations locale.

  • values ([String!]!)

    The corresponding value to the product option name.

Types that return ProductOption

Implements

Version 2020-01 (Unsupported)

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.

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.

    Argument Description
    locale ( String! ) required

    Filters translations locale.

  • values ([String!]!)

    The corresponding value to the product option name.

Types that return ProductOption

Implements

Version 2019-10 (Unsupported)

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.

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.

    Argument Description
    locale ( String! ) required

    Filters translations locale.

  • values ([String!]!)

    The corresponding value to the product option name.

Types that return ProductOption

Implements

Version 2019-07 (Unsupported)

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.

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.

    Argument Description
    locale ( String! ) required

    Filters translations locale.

  • values ([String!]!)

    The corresponding value to the product option name.

Types that return ProductOption

Implements

Version 2019-04 (Unsupported)

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.

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.

    Argument Description
    locale ( String! ) required

    Filters translations locale.

  • values ([String!]!)

    The corresponding value to the product option name.

Types that return ProductOption

Implements

Samples