Set cart quantity
set_cart_quantitySet the quantity of a product in a Picnic shopping cart; use 0 to remove it. Returns the updated quantity and cart total.
Instructions
Set how many of a product are in the user's Picnic shopping cart, e.g. when the user says "make it 3". 0 removes the product. Get the product id from get_cart or search_products. Returns the quantity now in the cart and the cart total.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| quantity | Yes | How many should be in the cart. 0 removes the product. | |
| productId | Yes | The product id from search_products or get_cart, e.g. s1004201. |