commercetools / commercetools/commercetools-sdk-typescript
about product selection
- Dominant language
- TypeScript
- Stars
- 65
- Forks
- 28
- Avg merge
- 2d 16h
- Merged PRs (30d)
- 7
Description
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.
Contributor guide
Assessment
This issue has not been assessed yet.