Solved

Storefront api query on multiple tags / product types

dev88
Tourist
11 0 6

Hi,

 

I'm a newbie to Shopify so forgive me 🙂

 

I am trying to build my own filter on the Shopify Storefront API using GraphQL.

 

I was wondering, how do i query on multiple tags and productTypes?

 

My current code, which is not working at the moment:

 

Screenshot 2019-09-10 at 12.42.04.pngHow can i filter on product type?

 

 

Accepted Solution (1)

vix
Shopify Staff
540 103 122

This is an accepted solution.

Hi @dev88 

 

You will want to use product_type rather than productType

 

 

To learn more visit the Shopify Help Center or the Community Blog.

View solution in original post

Reply 1 (1)

vix
Shopify Staff
540 103 122

This is an accepted solution.

Hi @dev88 

 

You will want to use product_type rather than productType

 

 

To learn more visit the Shopify Help Center or the Community Blog.