updateProduct
updateProductUpdate details of an existing product in the Zenskar billing platform. Modify name, SKU, description, active status, tax codes, or custom attributes.
Instructions
Update an existing product's details.
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": {
"productId": "<productId>"
},
"name": "updateProduct"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sku | No | Updated SKU. | |
| name | No | Updated name of the product. | |
| is_active | No | Whether the product is active. | |
| productId | Yes | The unique identifier of the product to update. | |
| tax_codes | No | Updated tax codes array. | |
| description | No | Updated description. | |
| __userContext | No | Internal user context for multi-tenant authentication and approval workflow | |
| custom_attributes | No | Updated custom attributes. |