isAvailablePerSalesChannel parameter does not work as expected on the Search API
ID: 656284
No Fix
Published on 9/12/2022
•
Last update on 2/16/2024
Summary
When 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.
Sometimes it will work as expected and sometimes it won't, specially when other parameters are involved in the search, like productId, skuId or sc.
Simulation
- Make a product unavailable on a sales channel.
- Use the search API with the isAvailablePerSalesChannel parameter.
- Check that the result is inconsistent.
Workaround
No workaround.