Menu
Feedback
Start here

Known issues

Known issues
isAvailablePerSalesChannel parameter does not work as expected on the Search API
Catalog
ID: 656284
No Fix
Published on9/12/2022
Last updated on2/16/2024
1 min read

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

  1. Make a product unavailable on a sales channel.
  2. Use the search API with the isAvailablePerSalesChannel parameter.
  3. Check that the result is inconsistent.

Workaround

No workaround.

Contributors
1
Photo of the contributor
+ 1 contributors
Was this helpful?
Yes
No
Suggest Edits (GitHub)
Contributors
1
Photo of the contributor
+ 1 contributors
On this page
Still got questions?
Ask the community
Find solutions and share ideas in the VTEX Community
Join our community
Request VTEX support
For personalized assistance, contact our experts
Open a support ticket
GitHubDeveloper PortalCommunityFeedback