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 ...
Improved Layered Navigation | GraphQL methods
The Improved Layered Navigation extension doesn't have its own GraphQL requests. Instead, it extends the default Magento requests by introducing supplementary details. You can get additional information stored by the Improved Layered Navigation ...
One Step Checkout | GraphQL methods
Queries getAdditionalFields (cartId: String!) description: get information about additional fields getDefaultIpData description: get information about default IP address getAvailableShippingMethods (cartId: String!) description: get the information ...
GDPR | GraphQL methods
Queries amGetGdprConsents (location: String) description: information about GDRP consents amGetGdprAccount description: information about GDPR account settings amGetGdprPolicyText (id: Int) description: get GDPR policy text Mutations ...