Skip to main content

AddToCartRowInput

No description

input AddToCartRowInput {
productId: String!
quantity: Int
setQuantity: Int
bundle: CartRowBundleInput
}

Fields

productId ● String!

quantity ● Int

Quantiy is used to increase the quantity on a row. If neither quantity or setQuantity is set a normal quantity of 1 will be assumed

setQuantity ● Int

SetQuantity is used to set the quantity of a row.

bundle ● CartRowBundleInput

Example

{
"bundle": {
"categories": [
{}
]
}
}