update_product
Partially update an existing product by ID, changing only the fields you provide such as name, price, stock, or description.
Instructions
Update an existing product by id (partial update).
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": {
"id": "<id>",
"data": "<data>"
},
"name": "update_product"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The resource id | |
| data | Yes | Fields to change on the product. Common fields: name, slug, price, mrp, sku, stock, active, description, categoryId, images (string[]). |