Set quantity
set_quantitySet the exact quantity of a product in your cart. Use 0 to remove the item. Returns the updated cart.
Instructions
Set the exact quantity of a product in the cart. Quantity 0 removes it. Returns the updated cart.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| quantity | Yes | Exact quantity (0 removes) | |
| product_id | Yes | Product id |