INPUT_OBJECT

CartAddCartItemMutationInput

Autogenerated input type of CartAddCartItemMutation

link GraphQL Schema definition

  • input CartAddCartItemMutationInput {
  • # A unique identifier for the client performing the mutation.
  • clientMutationId: String
  • # 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
  • # ID for retrieving the correct cart.
  • cartId: ID!
  • }