update-item
Modify existing items in Xero accounting software to update product details, pricing, inventory tracking, and tax information for accurate financial records.
Instructions
Update an item in Xero.
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": {
"itemId": "<itemId>",
"code": "<code>",
"name": "<name>"
},
"name": "update-item"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | ||
| name | Yes | ||
| itemId | Yes | ||
| description | No | ||
| salesDetails | No | ||
| purchaseDetails | No | ||
| purchaseDescription | No | ||
| isTrackedAsInventory | No | ||
| inventoryAssetAccountCode | No |