Skip to content

about product selection #1053

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
FourteenQiu opened this issue Apr 30, 2025 · 1 comment
Open

about product selection #1053

FourteenQiu opened this issue Apr 30, 2025 · 1 comment
Assignees

Comments

@FourteenQiu
Copy link

I'm using the product-selections endpoint in your API to find products, but I can't filter by category to retrieve the data. However, the product-projection endpoint allows me to search using categories.id:subtree("${categoryId}").

When I try to use the API's storeProjection parameter, it doesn't work as expected – instead of returning products from my configured product-selections, it returns all products. My product-selections are already associated with the store.

Could you advise how I can simultaneously filter by both category and product-selections to get the correct product list? I need to combine these two filters (category subtree and product-selections) to retrieve my target products. Thank you.

@ajimae ajimae self-assigned this May 2, 2025
@ajimae
Copy link
Contributor

ajimae commented May 2, 2025

Hi @FourteenQiu,

Thanks for reporting this issue, can you provide a code snippet that shows how you are querying this data using the SDK?

Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants