If the same product with the same variant already exists in the cart, the quantity will be updated to the new value (not incremented). The response will return a 200 status code with the message “Product quantity updated in cart successfully”.
For products that have variants, the variant field is required. The variant value must match one of the available variants for the product, otherwise a 400 error will be returned.