INPUT_OBJECT

CheckoutLineItemInput

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

link GraphQL Schema definition

  • 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!]
  • }