Can I list all products using a custom template in Shopify?

Fredydb
Shopify Partner
29 1 2

Hello everyone,
I need to find every poduct in my store that uses a custom product template we built: 'product.preorder'
Is there a way to list these?

Thanks for your help,

Frederic

Reply 1 (1)

Fredydb
Shopify Partner
29 1 2

I was hoping this would work but it lists all products in the store.

/admin/api/2021-01/products.json?template_suffix=preorder