{"section":"known-issues","requestedLocale":"en","requestedSlug":"isavailablepersaleschannel-parameter-does-not-work-as-expected-on-the-search-api","locale":"en","slug":"isavailablepersaleschannel-parameter-does-not-work-as-expected-on-the-search-api","path":"docs/en/known-issues/Catalog/isavailablepersaleschannel-parameter-does-not-work-as-expected-on-the-search-api.md","branch":"main","content":"## Summary\n\n\nWhen trying to use the isAvailablePerSalesChannel parameter to show the available (fq=isAvailablePerSalesChannel_\\{id\\}:1) or unavailable (fq=isAvailablePerSalesChannel_\\{id\\}:0) products the result is not consistent.\n\nSometimes it will work as expected and sometimes it won't, specially when other parameters are involved in the search, like productId, skuId or sc.\n\n\n\n## Simulation\n\n\n\n1. Make a product unavailable on a sales channel.\n2. Use the search API with the isAvailablePerSalesChannel parameter.\n3. Check that the result is inconsistent.\n\n\n\n## Workaround\n\n\nNo workaround."}