{"section":"known-issues","requestedLocale":"en","requestedSlug":"indexer-builds-inconsistent-availability-response-for-regionalized-marketplaces","locale":"en","slug":"indexer-builds-inconsistent-availability-response-for-regionalized-marketplaces","path":"docs/en/known-issues/Catalog/indexer-builds-inconsistent-availability-response-for-regionalized-marketplaces.md","branch":"main","content":"## Summary\n\n\nCurrently, the indexer, when checking whether an item is available for a marketplace, perform a checkout simulation.\n\nThis process builds a JSON with several fields, in which the field \"stockBalance\", from the checkout, is considered to determine the availability of an item in a sales channel.\n\nHowever, an item might be available even with stockBalance = 0, when it only has stock coming from regionalized sellers, the checkout uses another field to update the \"availability\" property.\n\nThe indexer should consider the latter and this inconsistency might, sometimes, cause the behavior of it not correctly showing the item's availability in its response.\n\nIt is important to note that this doesn't affect the real availability of the item, as these items will only show when regionalizing beforehand and it is also necessary to keep the \"show without stock\" flag set as true, as described in this other case issue: https://help.vtex.com/en/known-issues/product-unavailable-even-with-franchised-stock--58KRJl4MFOaeb5KUYGmH8G\n\n\n#### Simulation\n\n\n1 - have a product only available for regionalized sellers\n2 - check its indexed data for a sales channels that only have offers for this seller\n3 - it will be shown as unavailable, even if it has stock for the sellers\n\n\n#### Workaround\n\n\nSet 1+ units of stock for the marketplace itself if the indexed data information is crucial for your operation.\n\nAlso, upcoming updates to the VTEX search engines will cover this issue."}