Добавить в корзину Megamarket
add_to_cartAdd a product to the shopping cart using its product ID and receive the current cart contents.
Instructions
Добавляет товар в корзину (по id из выдачи/деталки) и возвращает актуальное состояние корзины.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Идентификатор товара из выдачи search_products или get_product |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cart | Yes | ||
| added | Yes |