A space to discuss GraphQL queries, mutations, troubleshooting, throttling, and best practices.
Is there any way to create and update pages with GraphQL? I see references to OnlineStorePage in the GraphQL Admin API and Page in the GraphQL Storefront API. Using the Storefront API I'm able to query for a list of pages as well as find a specific page id by handle, but I don't see any mutations related to pages for updating or creating. Am I missing something?
Hey @rjacobson ,
The Shopify GraphQL Admin API currently does not support the ability to modify, update, or create pages, assets, and themes. Currently if you are looking to utilize this functionality, you will still need to use the Shopify REST Admin API:
https://shopify.dev/docs/admin-api/rest/reference/online-store/page
https://shopify.dev/docs/admin-api/rest/reference/online-store/asset
https://shopify.dev/docs/admin-api/rest/reference/online-store/theme
I would keep an eye out on the Shopify release notes and change logs to see if this ever changes in the future:
https://shopify.dev/concepts/about-apis/versioning/release-notes
https://changelog.shopify.com/
To learn more visit the Shopify Help Center or the Community Blog.
It has been over a year since the least reply to this. Any update on getting pages via graphQL?
Do need this for bulk operations on pages/blog posts etc 😞
3 years later ... any update on Shopify GraphQL Admin API to modify, update, or create pages, assets, and themes?