Out-of-stock errors when inventory is available
Key Takeaway
An out-of-stock error doesn't always mean the product is out of stock. If inventory is available, check the cart's line-item limit, plus the OCI limit if Order Confirmation Integration (OCI) is enabled.
A B2B store can show an out-of-stock error at checkout even when the products have inventory available. The error can come from a limit rather than from stock levels, so you look at limits first.
How to troubleshoot the error
- Compare the number of line items in the cart with the store's line-item limit.
- If OCI is enabled, compare the number of product ID and location combinations in the request with the OCI limit.
- Dig into inventory data after you check these limits.