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!
  • # The way in which the buyer will receive the good or service.
  • deliveryMethod: DeliveryMethodEnum
  • # 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
  • # Custom form data to add to the cart
  • formData: JSON
  • }