GitHub

ShopifyCartLineInput

interface

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

The input fields to create a merchandise line on a cart.

interface ShopifyCartLineInput {
  attributes: ShopifyAttributeInput[]
  merchandiseId: string
  quantity: number
  sellingPlanId: string
}

Properties

attributes
ShopifyAttributeInput[]

An array of key-value pairs that contains additional information about the merchandise line.

The input must not contain more than 250 values.

merchandiseId
string

The ID of the merchandise that the buyer intends to purchase.

quantity
number

The quantity of the merchandise.

sellingPlanId
string

The ID of the selling plan that the merchandise is being purchased with.