CheckoutLineItemInput

Specifies the input fields to create a line item on a checkout.

Show definition

# Specifies the input fields to create a line item on a checkout.
input CheckoutLineItemInput {
  # Extra information in the form of an array of Key-Value pairs about the line item.
  customAttributes: [AttributeInput!]

# The quantity of the line item. quantity: Int!

# The identifier of the product variant for the line item. variantId: ID! }

Input Fields

customAttributes   ([AttributeInput!])

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

quantity   (Int!)

Required

The quantity of the line item.

variantId   (ID!)

Required

The identifier of the product variant for the line item.

Sign up for a Partner account to get started.

Sign up