New Shopify Certification now available: Liquid Storefronts for Theme Developers

Is it possible to query categories and products by categories on Storefront API?

flavio07
Shopify Partner
3 0 0

When registering products, I got the option to select a "category" to it, with predefined values by Shopify:

flavio07_0-1677628805171.png

However, on the Storefront API, it does not seem to be possible to get this information or filter products by it.

So, as far as I understand, to "categorize" products on my frontend, i.e. let the user browse a page only for "t-shirts", then I must use the "Product Type" value for this intent?


Thanks for any clarification!

Replies 0 (0)