ym_stocks_update
Update product stock levels in Yandex Market by submitting a JSON array with SKU, warehouse ID, and item counts with timestamps. Optionally specify campaign ID.
Instructions
Update product stocks. Args: stocks_json — JSON array of {sku, warehouseId, items: [{count, type, updatedAt}]}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| stocks_json | Yes | ||
| campaign_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |