Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
I've noticed that the REST API has access to assets but GraphQL does not.
Can anyone from Shopify comment on when this will be available? It seems like such a shortfall in using GraphQL.
Hi there @Danh11!
I just wanted to let you know your post has been moved here to our dedicated API forums.
These threads are monitored and responded to by our own developers and Partners, so this is really the best place for this kind of query.
If you haven't already you can browse our API docs here for GraphQL resources.
All the best!
Don | Social Care @ 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 the Shopify Help Center or the Shopify Blog
So I get that you can't access assets via GraphQL, but it's massively frustrating seeing you don't have any docs on how to get Rest setup in a React app. Everything has moved to GraphQL. I'm sure it's not hard for an experienced developer to get it going, but as a junior it's pretty frustrating.
Are there any plans to enable access to assets via GraphQL?
It's incredibly frustrating that Shopify is pushing graphql but you don't provide graphql support for all the same entities. Where's graphql assets? Collects? Etc. I would love to use gql for everything but you've not made that possible.
+1 to the comments by @Danh11 and @Schmidtc63 - I was somewhat perplexed when I found out this could only be accessed via Rest. Unless it's so deeply nested no one can find it?
I think this is now possible using `themeFilesUpsert` in the GraphQL Admin API, 2024-10 release.
Here's the announcement from Shopify:
https://shopify.dev/changelog/introducing-theme-and-theme-file-management-in-the-admin-graphql-api
Unfortunately, it appears to have been released broken:
We recently spoke with Zopi developers @Zopi about how dropshipping businesses can enha...
By JasonH Oct 23, 2024A big shout out to all of the merchants who participated in our AMA with 2H Media: Holi...
By Jacqui Oct 21, 2024We want to take a moment to celebrate the incredible ways you all engage with the Shopi...
By JasonH Oct 15, 2024