Blog Pro | GraphQL methods

Blog Pro | GraphQL methods

Queries

  1. amBlogSetting
    description: get blog pro module settings

  2. amBlogPost (id: Int, urlKey: String)
    description: get post information about a post by ID

  3. amBlogPosts (type: AmBlogPageType, page: Int, entityId: Int)
    description: get an array of posts by page number

  4. amBlogPostsByIds (ids: [Int])
    description: get an array of posts by ID

  5. amBlogPostsByCategoryId (categoryId: [Int])
    description: get an array of posts by category ID

  6. amBlogPostsSearch (page: Int, query: String)
    description: get post search queries

  7. amBlogComments (postId: In, type: String)
    description: get blog comments by post ID

  8. amBlogCategory (id: Int)
    description: get information about blog category by ID

  9. amBlogCategories 
    description: get blog categories

  10. amBlogChildCategories (id: Int)
    description: get child categories by category ID

  11. amBlogTags (postId)
    description: get blog tags by post ID

  12. amBlogAuthor
    description: get information about author by ID

  13. amBlogAuthors
    description: get information about all blog authors

  14. amBlogCategoriesWidget (id: Int)
    description: get Amasty Blog Categories widget

  15. amBlogFeaturedPostsWidget (id: Int)
    description: get Amasty Blog Featured Posts widget

  16. amBlogRecentCommentsWidget (id: Int)
    description: get Amasty Blog Recent Comments widget

  17. amBlogRecentPostsWidget (id: Int)
    description: get Amasty Blog Recent Posts widget

  18. amBlogTagsWidget (id: Int)
    description: get Amasty Blog Tags widget

  19. amBlogRelatedPosts (productId: Int!)
    description: get information about related posts by product ID

  20. amBlogPostRelatedProducts (postId: Int!)
    description: get information about related products by post ID


Mutations

  1. AmBlogLeaveComment (input: AmBlogLeaveCommentInput)
    description: leave a comment to the post


  2. 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 ...