Blog Pro | GraphQL methods
Queries
- amBlogSetting
description: get blog pro module settings
- amBlogPost (id: Int, urlKey: String)
description: get post information about a post by ID
- amBlogPosts (type: AmBlogPageType, page: Int, entityId: Int)
description: get an array of posts by page number
- amBlogPostsByIds (ids: [Int])
description: get an array of posts by ID
- amBlogPostsByCategoryId (categoryId: [Int])
description: get an array of posts by category ID
- amBlogPostsSearch (page: Int, query: String)
description: get post search queries
- amBlogComments (postId: In, type: String)
description: get blog comments by post ID
- amBlogCategory (id: Int)
description: get information about blog category by ID
- amBlogCategories
description: get blog categories
- amBlogChildCategories (id: Int)
description: get child categories by category ID
- amBlogTags (postId)
description: get blog tags by post ID
- amBlogAuthor
description: get information about author by ID
- amBlogAuthors
description: get information about all blog authors
- amBlogCategoriesWidget (id: Int)
description: get Amasty Blog Categories widget
- amBlogFeaturedPostsWidget (id: Int)
description: get Amasty Blog Featured Posts widget
- amBlogRecentCommentsWidget (id: Int)
description: get Amasty Blog Recent Comments widget
- amBlogRecentPostsWidget (id: Int)
description: get Amasty Blog Recent Posts widget
- amBlogTagsWidget (id: Int)
description: get Amasty Blog Tags widget
- amBlogRelatedPosts (productId: Int!)
description: get information about related posts by product ID
- amBlogPostRelatedProducts (postId: Int!)
description: get information about related products by post ID
Mutations
- AmBlogLeaveComment (input: AmBlogLeaveCommentInput)
description: leave a comment to the post
- AmBlogLeaveVote (input: AmBlogLeaveVoteInput)
description: leave a vote to the post
Related Articles
What Amasty extensions support GraphQL?
Amasty has introduced additional GraphQL packages for extensions that are GraphQL compatible. These packages are listed in the 'suggest' section of the composer.json file. As a result, they are not automatically installed with the main module. To ...
Color Swatches Pro | GraphQL
The Color Swatches Pro extension doesn't have its own GraphQL requests. Instead, it complements the default Magento type ConfigurableProduct by introducing supplementary details. When you send a request to Magento for configurable items, you can also ...
Blog Pro API
Kindly note that the API functionality for Blog Pro is available as a part of an active product subscription or support subscription. GET /V1/amasty_blog/author/:authorId - Get one author GET /V1/amasty_blog/author/all - Get list with conditions ...
Multiple Coupons | GraphQL methods
Kindly note that the GraphQL functionality for Multiple Coupons is available as a part of an active product subscription or support subscription. Query amGetCouponsByCartId description: get coupons by cart id Mutations amApplyCouponsToCart ...
Does the Blog Pro module support the Page Builder functionality?
The Blog Pro module does not provide the Page Builder functionality out-of-the-box. However, there is a special submodule included in the Blog Pro package that makes the extension compatible with the Page Builder functionality and lets you use it ...