update_inventory_item
Update details of an existing inventory item, including name, price, stock, and description, using its product ID.
Instructions
Updates an existing inventory item in the inventory management system.
Args:
prod_id: The ID of the inventory item to update.
name: The new name of the inventory item.
price: The new price of the inventory item.
stock: The new new_stock quantity of the inventory item.
description: The new description of the inventory item.
Returns:
A confirmation message or an error message in json format if the request fails.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| price | Yes | ||
| stock | Yes | ||
| prod_id | Yes | ||
| description | Yes |