Update product
update_productUpdate existing product details using JSON PATCH, with category_ids replacing the entire category list. Retrieve the UpdateProduct request schema via get_operation_schema for the exact format.
Instructions
Update an existing product (plain JSON PATCH, not merge-patch). Passing category_ids fully replaces the product's category list. Call get_operation_schema("UpdateProduct") for the exact request shape.
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>",
"product": "<product>"
},
"name": "update_product"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Product ID (UUID). | |
| product | Yes | Fields to update, matching the UpdateProductRequest schema (see get_operation_schema("UpdateProduct")). Must not be empty. |