Admin GraphQL API: new APIs for Pages, Articles, Blogs, and Comments now available in 2024-10
API
Effective October 01, 2024
As of version 2024-10 of the Admin GraphQL API, you can now read and modify Pages, Articles, Blogs, Comments. Page
, Article
, and Blog
types have replaced the OnlineStorePage
, OnlineStoreArticle
, and OnlineStoreBlog
types in the API.
Pages:
- You can now create new pages using
pageCreate
, modify existing pages usingpageUpdate
, and delete pages usingpageDelete
. - Pages can be queried using the new
page
orpages
queries.
Articles:
- You can now create new articles using
articleCreate
, modify existing articles usingarticleUpdate
, and delete articles usingarticleDelete
. - Articles can be queried using the new
article
orarticles
queries.
Blogs:
- You can now create new blogs using
blogCreate
, modify existing blogs usingblogUpdate
, and delete blogs usingblogDelete
. - Blogs can be queried using the new
blog
orblogs
queries.
Comments:
- You can now modify existing comments using
commentApprove
,commentSpam
, orcommentNotSpam
. Comments can be deleted withcommentDelete
. - Comments can be queried using the new
comment
orcomments
queries