Set quantity
ametller_set_quantitySet the exact quantity of a product in the shopping cart. Use 0 to remove an item and receive 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 |