{"section":"known-issues","requestedLocale":"en","requestedSlug":"seller-selection-algorithm-doesnt-consider-the-real-availability-of-the-item-to-choose-the-best-option","locale":"en","slug":"seller-selection-algorithm-doesnt-consider-the-real-availability-of-the-item-to-choose-the-best-option","path":"docs/en/known-issues/Order Allocation/seller-selection-algorithm-doesnt-consider-the-real-availability-of-the-item-to-choose-the-best-option.md","branch":"main","content":"## Summary\n\nThe seller selection algorithm considers the stock from the items in order to select the best whitelabel seller for a given context.\nThe problem is that this API doesn't take into account if the quantity is coming from a valid warehouse for the salesChannel, with a valid shipping strategy, and not even if the warehouse is enabled. So the context is poor to select the best seller.\nIn a second moment, checkout does a full\n\n## Simulation\n\nrequest in the selected seller, and only here it'll discover that in truth the item isn't available. But at this time, an alternative whitelabel seller can no longer be applied.\n\n\n## **Simulation**\n\n- To have a store with whitelabel sellers\n- To have more than one seller:\n  - seller A with a high stock quantity, but the warehouse disabled\n  - seller B with a low stock quantity, but the warehouse enabled and with a valid shipping strategy\n\n- Do a simulation and observe that the checkout will choose the seller A instead of seller B\n\n## Workaround\n\nThe store needs to ensure that, if some seller is enabled, it must have a valid shipping strategy to every warehouse. If some warehouse won't be used, their balance should be updated to zero. Otherwise, there's a risk to select a seller that can't fulfill the item."}