Question & Answer
Question
Why does reserveItemInventory API reserve inventory for the items with no available capacity in Sterling Order Management System?
Cause
You want to restrict item reservations when capacity of requested item is not available.
Answer
Capacity checks do not happen for reserveItemInventory API. reserveItemInventory API checks item inventory and not the capacity. Capacity check is present at the sourcing rule setup, but in this API ship node is already passed and it does not read sourcing rule setup things. Hence the capacity check does not happen for this API.
To perform capacity check, you need to call reserveAvailableInventory API during item reservations.
Related Information
Was this topic helpful?
Document Information
Modified date:
10 May 2022
UID
swg21662038