FAQ and Product Questions API
1. Amasty\Faq\Api\QuestionRepositoryInterface - class for questions:
- POST /V1/amasty_faq/question, method="save" - create a question;
- PUT /V1/amasty_faq/question/:questionId, method="save" - edit a question;
- DELETE /V1/amasty_faq/question/:questionId, method="deleteById" - delete a question;
- GET /V1/amasty_faq/question, method="getById" - get information about a question;
- GET /V1/amasty_faq/question/all, method="getList" - get a list of all questions.
2. Amasty\Faq\Api\CategoryRepositoryInterface - class for categories:
- POST /V1/amasty_faq/category, method="save" - create a category;
- PUT /V1/amasty_faq/category/:categoryId, method="save" - edit a category;
- DELETE /V1/amasty_faq/category/:categoryId, method="deleteById" - delete a category;
- GET /V1/amasty_faq/category, method="getById" - get information about a category;
- GET /V1/amasty_faq/category/all, method="getList" - get a list of all categories.
3. Amasty\Faq\Api\TagRepositoryInterface - class for tags:
- POST /V1/amasty_faq/tag, method="save" - create a tag;
- PUT /V1/amasty_faq/tag/:tagId, method="save" - edit a tag;
- DELETE /V1/amasty_faq/tag/:tagId, method="deleteById" - delete a tag;
- GET /V1/amasty_faq/tag, method="getById" - get the information about a tag;
- 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 ...