Searching products via API - Issues - New cursor based pagination

maltillo
Shopify Partner
13 0 0

We have an app that searches through products using the API. Since implementing the new cursor-based pagination users of the app can't search for products. It now has to be an exact match.

 

Am I missing something?

 

Exact match resultExact match resultPartial searchPartial searchApp interface showing variantsApp interface showing variants

ChangelogChangelog

 

Any advice on how to achieve this would be much appreciated.

Reply 1 (1)
Nitin_Kujur
Shopify Partner
81 19 32

I think the open field query should work. This means without mentioning any field for the search. For your case don't pass the title field in the query.

 

You might be doing this right now query=title:{{ search_term }}

 

Then you need to change it to query={{ search_term }}