GitHub

ShopifyAttribute

interface

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

Represents a generic custom attribute, such as whether an order is a customer's first.

interface ShopifyAttribute {
  __typename: "Attribute"
  key: string
  value: string
}

Properties

__typename
"Attribute"
key
string

The key or name of the attribute. For example, "customersFirstOrder".

value
string

The value of the attribute. For example, "true".