Update a product
update_productModify product name, description, image, metadata, license settings, or active status; set active to false to stop selling without deleting the product. Requires a test key.
Instructions
Update a product.
Set active: false to stop selling it; products are never deleted (invoices point at them).
Test keys only: refused with a live key.
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 | The object's id. | |
| name | No | ||
| active | No | ||
| metadata | No | Your own key–value pairs (≤ 50 keys, values ≤ 500 characters). On an update they are merged in; an empty value removes its key. | |
| image_url | No | ||
| description | No | ||
| issues_license | No | Issue a license key with every purchase. | |
| license_activation_limit | No |