Automatic Related Products | GraphQL methods
Queries
- amMostviewedGroups -(uid: String!, position: String)
description: get information about related product rules
- amMostviewedBundlePacks (uid: String)
description: get information about bundle packs
Related Articles
Automatic Related Products API
1. Amasty\Mostviewed\Api\GroupRepositoryInterface - class for managing related product rules. POST /V1/amasty_mostviewed/rules", method="save" - create a rule; PUT /V1/amasty_mostviewed/rules/:groupId, method="save" - edit a rule; DELETE ...
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 ...
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 ...
Elastic Search and Advanced Search | GraphQL methods
Queries xsearchProducts (search: String) description: products matching customers' search query xsearchRelatedTerms (search: String) description: get related search terms by query xsearchRecentlyViewed description: get an array of recently viewed ...
Improved Sorting | GraphQL methods
Queries amfeaturedWidget (sortBy: String!, amsortingSortOrder: String!, productsCount: Int!, conditions: String!, showPager: Boolean, productsPerPage: Int, currentPage: Int) description: get information about Sorting Featured Products widget ...