Update product stock and prices
update_product_stockUpdates stock quantity, availability and price of products in Prom.ua (by product id or external SKU) or stock in KeyCRM (by SKU or offer id). Each product costs one action.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"store": "<store>",
"items": "<items>"
},
"name": "update_product_stock"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | Products by sku (external id) or product_id with quantity/price/available | |
| store | Yes | Store connection id or platform: prom or keycrm | |
| warehouse_id | No | KeyCRM warehouse id (default from the connection) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| demo | No | ||
| note | No | ||
| store | Yes | ||
| failed | No | ||
| updated | Yes |