INPUT_OBJECT

AddCartItemInput

Arguments for finding variants and adding them to a cart.

link GraphQL Schema definition

  • input AddCartItemInput {
  • # Update the quantity of the item held in the cart to this number.
  • quantity: Int!
  • # Barcodes of variants to add to the cart. The given barcodes must be unique. If a
  • # barcode is associated with multiple variants, it will raise an error.
  • variantBarcode: String
  • # IDs of the variants to add to the cart.
  • variantId: ID
  • }