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.

GraphQL Collection: return empty products

GraphQL Collection: return empty products

jumper1340
Shopify Partner
4 0 0

I am new to Shopify GraphQL. 


I have been working on a shopify iOS app. One issue is that when i fetch collections using https://shopify.dev/docs/api/storefront/2024-07/objects/Collection

some of the collections return empty products node. 

But when i checked on the website, the collection does show products. 

Is there something that missing on shopify admin part or iOS config ? 

Reply 1 (1)

Liam
Community Manager
3108 344 908

Hi Jumper1340,

 

If you run the same query with the GraphiQL app, are you still seeing the empty nodes that should contain products?

Liam | Developer Advocate @ Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit Shopify.dev or the Shopify Web Design and Development Blog