INPUT_OBJECT

LineItemInput

Line items associated with a cart or order.

link GraphQL Schema definition

  • input LineItemInput {
  • # ID of the variant to become a line item.
  • variantId: ID!
  • # Quantity of this item to be associated with the given order.
  • quantity: Int!
  • # Total cost of the item, which includes subtotals but excludes shipping
  • # (postage). Denominated in cents.
  • totalCents: Int!
  • # Total cost of the shipping the item. Denominated in cents.
  • postageCents: Int
  • }