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 using pageUpdate
, and delete pages using pageDelete
.
- Pages can be queried using the new page
or pages
queries.
Articles:
- You can now create new articles using articleCreate
, modify existing articles using articleUpdate
, and delete articles using articleDelete
.
- Articles can be queried using the new article
or articles
queries.
Blogs:
- You can now create new blogs using blogCreate
, modify existing blogs using blogUpdate
, and delete blogs using blogDelete
.
- Blogs can be queried using the new blog
or blogs
queries.
Comments:
- You can now modify existing comments using commentApprove
, commentSpam
, or commentNotSpam
. Comments can be deleted with commentDelete
.
- Comments can be queried using the new comment
or comments
queries