FAQ and Product Questions API

FAQ and Product Questions API

1. Amasty\Faq\Api\QuestionRepositoryInterface - class for questions:
  1. POST /V1/amasty_faq/question, method="save" - create a question;
  2. PUT /V1/amasty_faq/question/:questionId, method="save" - edit a question;
  3. DELETE /V1/amasty_faq/question/:questionId, method="deleteById" - delete a question;
  4. GET /V1/amasty_faq/question, method="getById" - get information about a question;
  5. GET /V1/amasty_faq/question/all, method="getList" - get a list of all  questions. 

2. Amasty\Faq\Api\CategoryRepositoryInterface - class for categories: 
  1. POST /V1/amasty_faq/category, method="save" - create a category;
  2. PUT /V1/amasty_faq/category/:categoryId, method="save" - edit a category;
  3. DELETE /V1/amasty_faq/category/:categoryId, method="deleteById" - delete a category;
  4. GET /V1/amasty_faq/category, method="getById" - get information about a category;
  5. GET /V1/amasty_faq/category/all, method="getList" - get a list of all categories.

3. Amasty\Faq\Api\TagRepositoryInterface - class for tags:
  1. POST /V1/amasty_faq/tag, method="save" - create a tag;
  2. PUT /V1/amasty_faq/tag/:tagId, method="save" - edit a tag;
  3. DELETE /V1/amasty_faq/tag/:tagId, method="deleteById" - delete a tag;
  4. GET /V1/amasty_faq/tag, method="getById" - get the information about a tag;
  5. GET /V1/amasty_faq/tag/all, method="getList" - get a list of all tags.
      • Related Articles

      • FAQ and Product Questions | GraphQL methods

        Queries getAmFaqSettings description: get FAQ module settings searchAmFaqCategories (filter: AmFaqCategoryFilterInput, pageSize: Int = 10, currentPage: Int = 1, sort: AmFaqCategorySortInput) description: search all FAQ categories by keyword with ...
      • What Amasty extensions support API?

        Each Amasty extension that has API support, includes the etc/webapi.xml file. The webapi.xml file contains API configurations with the list of available API requests. For example, a request from the Custom Form module interface: 1 - endpoint URL; 2 - ...
      • Product Attachments API

        API functionality for Product Attachments is available with the API for Product Attachments Add-On only. 1. Amasty\ProductAttachmentApi\Api\FrontendAttachmentInterface - class for getting product attachments on frontend: GET ...
      • Product Parts Finder API

        1. Amasty\Finder\Api\DropdownRepositoryInterface - class for managing parts finder dropdowns: POST /V1/amasty_finder/dropdown, method="save" - create a dropdown; PUT /V1/amasty_finder/dropdown/:id, method="save" - edit a dropdown; DELETE ...
      • Product Labels API

        Amasty\Label\Api\LabelRepositoryInterface - class for managing lables: GET /V1/amasty_labels/get/:id, method="getById" - get information about a label; DELETE /V1/amasty_labels/delete/:id, method="deleteById" - delete a label; POST ...