PUT /api/v1/inventory/decrease-stock
Decrease the available stock quantity for a specific product. This operation is typically used when processing sales or shipments.Query Parameters
The unique identifier of the product
The quantity to decrease from the available stock
Example Request
Response
Returns no content on success.Status Codes
Stock decreased successfully
Insufficient stock available for the requested quantity
Inventory record not found for the specified product
Business Rules
If the quantity decrease would bring the stock below the minimum stock level, the operation will still succeed but may trigger low-stock alerts in your monitoring system.