Reserve Stock on Request
Feature Overview
The “Reserve stock on request” feature allows the system to hold inventory as soon as a customer submits an exchange request, before the request is approved.
- When the feature is ON ✅
→ Stock is immediately deducted once the customer submits the request.
- When the feature is OFF ❌
→ Stock is only deducted after the request is approved.
Workflow
When the feature is ON (isReserveStockOnRequest = true):
- Customer submits an exchange request.
- The system automatically deducts stock for the related product.
- If the request is approved ✅
→ Stock will not be deducted again when creating the new exchange order.
- If the request is rejected/deleted/canceled by the customer ❌
→ Stock is returned to inventory.
When the feature is OFF (isReserveStockOnRequest = false):
- Customer submits an exchange request.
- Stock remains unchanged until the request is approved.
- Once approved → stock is deducted.
- If the request is rejected → no stock adjustment is needed since nothing was deducted.
Practical Example
Assume:
- Product A has 10 units in stock.
- Customer submits an exchange request for 1 unit.
Feature Status | System Behavior | Stock after submitting request | Stock after creating exchange order | Stock if request is rejected/deleted/canceled |
---|---|---|---|---|
ON | Reserve stock upfront | 9 | 9 | 10 |
OFF | Do not reserve stock | 10 | 9 | 10 |
Conclusion
- ON → Reserve stock immediately upon request submission → safer inventory management, prevents overselling.
- OFF → Deduct stock only after approval → keeps inventory more stable with fewer changes.
Updated on: 19/09/2025
Thank you!