update_product
Update an existing product's details in Chirak, including price, stock quantity, name, category, SKU, or barcode, by providing its UUID.
Instructions
Update details of an existing product in Chirak, such as selling price, cost, physical stock quantity, name, category, SKU, or barcode.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Product UUID (required). | |
| sku | No | Updated SKU code. | |
| name | No | Updated product name. | |
| unit | No | Updated unit type (e.g. 'Adet', 'Kg'). | |
| barcode | No | Updated barcode string. | |
| category | No | Updated category name. | |
| costPrice | No | Updated wholesale cost price. | |
| minimumStock | No | Updated minimum stock threshold. | |
| sellingPrice | No | Updated retail selling price. | |
| stockQuantity | No | Updated stock quantity. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | Result data payload from Chirak API. | |
| success | No | Status of the tool execution. |