cart_set_quantity
Update the quantity of a product in the shopping cart. Set quantity to 0 to remove the product from the cart.
Instructions
Задать количество товара в корзине. quantity=0 удаляет товар. Для весовых товаров шаг задаётся полем basket_step в карточке.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| quantity | Yes | ||
| product_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||