GitHub

ShopifyCartInputMetafieldInput

interface

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

The input fields for a cart metafield value to set.

interface ShopifyCartInputMetafieldInput {
  key: string
  type: string
  value: string
}

Properties

key
string

The key name of the metafield.

type
string

The type of data that the cart metafield stores. The type of data must be a supported type.

value
string

The data to store in the cart metafield. The data is always stored as a string, regardless of the metafield's type.