Hi Forum
Is there an easy way to search for items (products/variants) that are in stock in a specific warehouse?
We have multiple warehouses where items can be in stock, but in certain scenarios I only want to see items that are in stock in the local warehouse.
Based on this page, I can search for Variants that are available in a specific market:
var result = SearchClient.Instance.Search<VariationContent>() .Filter(x => x.AvailableMarkets().MatchContained(v => v.Value, "market"));
(https://docs.developers.optimizely.com/customized-commerce/docs/filtering-catalog-content)
But what would I do, to search for items in stock on a specific Warehouse?
Thank you for your help.
Regards
Anders