GitHub

ShopifyCheckoutLineItemInput

interface

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

The input fields to create a line item on a checkout.

interface ShopifyCheckoutLineItemInput {
  customAttributes: ShopifyAttributeInput[]
  quantity: number
  variantId: string
}

Properties

customAttributes
ShopifyAttributeInput[]

Extra information in the form of an array of Key-Value pairs about the line item.

The input must not contain more than 250 values.

quantity
number

The quantity of the line item.

variantId
string

The ID of the product variant for the line item.