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 {
  # The identifier of the product variant for the line item.
  variantId: ID!

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

  # Extra information in the form of an array of Key-Value pairs about the line item.
  customAttributes: [AttributeInput!]
}

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.