Search all products from all categories by title

Solved
Highlighted
New Member
1 0 0

I am looking for searching products based on product information like title, description from all categories.

But I can't find any search API for products in API section. Have I missed it somewhere or any info regarding this is appreciated.

 

Thanks!

Rahul Jangid

0 Likes
Highlighted
Explorer
41 9 11

This is an accepted solution.

Hi Mate 

Take a peek at the below

GraphQL

You can query the title in your query parameter. Shopify even have a GQL demo environment at the bottom of the page to test your queries.

https://shopify.dev/docs/admin-api/graphql/reference/object/product/index

REST

REST only supports full title matching so you can't search for part of a title. But you can use the GET to query this info.

https://shopify.dev/docs/admin-api/rest/reference/products/product

1 Like