GitHub

ShopifyProductOption

interface

import { ShopifyProductOption } from '@daffodil/driver/shopify'

Product property names like "Size", "Color", and "Material" that the customers can select. Variants are selected based on permutations of these options. 255 characters limit each.

interface ShopifyProductOption {
  __typename: "ProductOption"
  id: string
  name: string
  values: string[]
}

Properties

__typename
"ProductOption"
id
string

A globally-unique ID.

name
string

The product option’s name.

values
string[]

The corresponding value to the product option name.