Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more

Re: Storefront api query on multiple tags / product types

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
541 103 124

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
541 103 124

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.