commercetools / commercetools/commercetools-sdk-typescript

about product selection

Open
#1,053 1 comment 0 reactions 1 assignee Claimed by @ajimae View on GitHub
Customer issue
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.