INPUT_OBJECT

CartAddItemMutationInput

Autogenerated input type of CartAddItemMutation

link GraphQL Schema definition

  • input CartAddItemMutationInput {
  • # 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
  • }