update_product
Update an existing product by ID.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Product ID (from search_products) | |
| vat | No | VAT percentage | |
| code | No | Product code | |
| unit | No | Unit of measure | |
| price | No | Unit price excluding VAT | |
| barcode | No | Barcode | |
| currency | No | Currency code | |
| quantity | No | Default quantity when adding the product to a document | |
| description | No | Product name / description | |
| product_kind | No | goods, service or consumable; a service cannot be stock-tracked | |
| stock_tracked | No | Track this product's stock (stock management module) | |
| min_stock_level | No | Minimum stock level; at or below it the product counts as low on stock | |
| default_stock_warehouse_id | No | Warehouse a document line books against when none is given (from list_stock_warehouses) |