GitHub

ShopifyCartLineUpdateInput

interface

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

The input fields to update a line item on a cart.

interface ShopifyCartLineUpdateInput {
  attributes: ShopifyAttributeInput[]
  id: string
  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.

id
string

The ID of the merchandise line.

merchandiseId
string

The ID of the merchandise for the line item.

quantity
number

The quantity of the line item.

sellingPlanId
string

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