Update Product
update_productUpdates an existing Salla product's name, price, stock quantity, or status by product ID, letting you revise product details in one call.
Instructions
Update fields (name, price, quantity, status) of an existing product.
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": {
"product_id": "<product_id>"
},
"name": "update_product"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | New product name | |
| price | No | New price | |
| status | No | Product status | |
| quantity | No | New stock quantity | |
| product_id | Yes | Product ID to update |