Accessing all Collection with Storefront API

Accessing all Collection with Storefront API

sjcobb
Shopify Partner
1 0 1

Hi there,

 

I am trying to make a lite wrapper around my store with the storefront graphql API. I am very impressed with the easy access to the GraphQL API, however I have a small issue.

 

I would like to have a "Shop All" page like generic shopify stores have. On a shopify URL, these stores are shown in {mystore}.myshopify.com/collections/all. However when querying for collections on my store, I am unable to access any collection with a handle of "all".

 

I would like to ask whether it is able to query a single collection which contains all products.

 

Alternatively it may be possible to create a collection with the handle 'all' but I am unsure whether this would work.

 

Thank you for your time.

Reply 1 (1)

jejo
Shopify Partner
5 1 2

Did you ever find an answer to this?