update_inventory_product
Update a General Inventory product by productId or sku: name, SKU, ASIN, barcode, category, prices, manufactured flag and BOM (bomComponents replaces the whole BOM; hasBom:false clears it). Stock is changed only via adjust_inventory_stock. Supports confirm (false = dry-run preview).
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": {
"farmId": "<farmId>"
},
"name": "update_inventory_product"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sku | No | Current SKU of the product to update (or use productId) | |
| asin | No | Amazon ASIN | |
| unit | No | Unit of measure (e.g. each, pair, lb) | |
| farmId | Yes | The unique farm ID | |
| hasBom | No | True for manufactured items that have a BOM recipe | |
| newSku | No | New SKU (must be unique in the farm) | |
| status | No | Product status (default active) | |
| barcode | No | Barcode / UPC | |
| confirm | No | Set to true to commit, false for dry-run preview | |
| category | No | Inventory category | |
| productId | No | Inventory product ID (or use sku) | |
| costPerUnit | No | Cost per unit | |
| productName | No | Product name | |
| reorderPoint | No | Reorder point | |
| sellingPrice | No | Selling price | |
| bomComponents | No | BOM lines (replaces the whole BOM when given). Components must already exist in this farm's inventory. | |
| shortDescription | No | Short description |