update_product
Update existing products in a Medusa store by modifying fields like title, description, status, thumbnail, or collection ID, including publishing products by setting status to published.
Instructions
Update fields on an existing product (title, description, status, thumbnail, collection_id, etc.). Only include fields you want to change. To publish: set status='published'.
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>"
},
"name": "update_product"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| title | No | ||
| handle | No | ||
| status | No | ||
| subtitle | No | ||
| thumbnail | No | ||
| description | No | ||
| collection_id | No |