update_stock
Update product inventory quantities in the art supply store system after receiving shipments, sales, or physical counts. Records stock changes with reason codes for accurate inventory tracking.
Instructions
Update inventory quantity after receiving shipment or doing physical count. Records the change in the system.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
quantity | Yes | New quantity amount | |
reason | Yes | Reason for update (received, sold, damaged, count) | |
sku | Yes | Product SKU to update |
Input Schema (JSON Schema)
{
"properties": {
"quantity": {
"description": "New quantity amount",
"type": "number"
},
"reason": {
"description": "Reason for update (received, sold, damaged, count)",
"type": "string"
},
"sku": {
"description": "Product SKU to update",
"type": "string"
}
},
"required": [
"sku",
"quantity",
"reason"
],
"type": "object"
}