update_inventory_item_stock
Update the stock quantity for an existing inventory item using its product ID and new stock value. Ensures accurate inventory records.
Instructions
Updates the new_stock quantity of an existing inventory item in the inventory management system.
Args:
prod_id: The ID of the inventory item to update.
stock: The new new_stock quantity 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 |
|---|---|---|---|
| stock | Yes | ||
| prod_id | Yes |