Set quantity
ametller_set_quantitySets the exact quantity of a product in the cart. Use 0 to remove items. 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 |