Mefisto_Fell
Mefisto_Fell

Reputation: 916

How can we find item based in incomplete name?

I have a question about "How can we find product or something else by partial information (name for example)"?. For example in SQL we can use LIKE. What can we use in Commercetools to do the same? How can we find category by incomplete name in Java code?

Upvotes: 0

Views: 216

Answers (1)

Brian Tomkins
Brian Tomkins

Reputation: 376

Thanks for the question. The product projections api provides search and suggest functionality. It is limited to product data. All other end points support filter by exact match.

see docs https://docs.commercetools.com/http-api-projects-products-search.html#search-productprojections

Upvotes: 1

Related Questions