How to find products by template suffix

dragonborngem
New Member
4 0 0

Hi

I need to to query one ( or many) products by template suffix. But after some hours of research, I haven't found any way to do its via REST API or GRAPHIQL API, so is there any idea so I can do it properly ( in case I don't want to store list assigned product with template  in database ) 

0 Likes
Jayvin
Shopify Partner
164 24 34

Hi,

I don't think there is any api call to get products by template_suffix. What you can do instead:

  1. Get all the products
  2. Loop through those products and do what you want with the template_suffix
ABC4
New Member
1 0 0

I also really need the ability to filter products by theme templates or template suffix.  

0 Likes