We have created a
public API collection for Product Parts Finder module with all available queries and sample data that you can both test via our demo endpoints and copy to run local tests in your Magento environment. More details about using public collections can be found in the following
FAQ post.
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 /V1/amasty_finder/dropdown/:id, method="deleteById" - delete a dropdown;
- GET /V1/amasty_finder/dropdown, method="getById" - get a dropdown;
- GET /V1/amasty_finder/dropdown/all, method="getList" - get a list of all dropdowns.
2. Amasty\Finder\Api\FinderRepositoryInterface - class for managing product part finder:
- POST /V1/amasty_finder/finder, method="save" - create a finder;
- PUT /V1/amasty_finder/finder/:id, method="save" - edit a finder;
- DELETE /V1/amasty_finder/finder/:id, method="deleteById" - delete a finder;
- GET /V1/amasty_finder/finder, method="getById" - get a finder;
- GET /V1/amasty_finder/finder/all, method="getList" - get a list of all finders.
3. Amasty\Finder\Api\ImportLogRepositoryInterface - class for managing import logs:
- DELETE /V1/amasty_finder/importLog/:id, method="deleteById" - delete an import log;
- GET /V1/amasty_finder/importLog, method="getById" - get an import log;
- GET /V1/amasty_finder/importLog/all, method="getList" - get all import logs.
4. Amasty\Finder\Api\ImportErrorsRepositoryInterface - class responsible for import log errors:
- DELETE /V1/amasty_finder/importLogErrors/:id, method="deleteById" - delete an import error log;
- GET /V1/amasty_finder/importLogErrors, method="getById" -get an import error log;
- GET /V1/amasty_finder/importLogErrors/all, method="getList" - get all import error logs.
5. Amasty\Finder\Api\ImportHistoryRepositoryInterface - class for managing import log history:
- DELETE /V1/amasty_finder/importLogHistory/:id, method="deleteById" - delete a history log;
- GET /V1/amasty_finder/importLogHistory, method="getById" - get a history log;
- GET /V1/amasty_finder/importLogHistory/all, method="getList" - get all history logs.
6. Amasty\Finder\Api\UniversalRepositoryInterface - class for managing universal products:
- POST /V1/amasty_finder/universal, method="save" - create a universal product;
- PUT /V1/amasty_finder/universal/:id, method="save" - edit a universal product;
- DELETE /V1/amasty_finder/universal/:id, method="deleteById" - delete a universal product;
- GET /V1/amasty_finder/universal, method="getById" - get information about a universal product;
- GET /V1/amasty_finder/universal/all, method="getList" - get a list with universal products.
7. Amasty\Finder\Api\ValueRepositoryInterface - class for managing finder values:
- POST /V1/amasty_finder/value, method="save" - save a value;
- PUT /V1/amasty_finder/value/:id, method="save" - edit a value;
- POST /V1/amasty_finder/saveProduct, method="saveOption" - save an option with one SKU;
- DELETE /V1/amasty_finder/value/:id/:finder, method="deleteById" - delete an option (delete a mapping);
- DELETE /V1/amasty_finder/value/:id, method="deleteOnlyValue" - delete a value;
- GET /V1/amasty_finder/value, method="getById" - get one value;
- GET /V1/amasty_finder/value/all, method="getList" - get a list with all values.
8. Amasty\Finder\Api\MapRepositoryInterface - class for managing mappings:
- POST /V1/amasty_finder/map, method="save" - save a mapping;
- PUT /V1/amasty_finder/map/:id, method="save" - edit a mapping;
- POST /V1/amasty_finder/map/saveMap, method="saveMap" - create a mapping using only value ID and SKU;
- PUT /V1/amasty_finder/map/saveMap:id, method="saveMap" - edit a mapping using only value ID and SKU;
- DELETE /V1/amasty_finder/map/:id, method="deleteById" - delete a mapping;
- GET /V1/amasty_finder/map, method="getById" - get information about a mapping;
- GET /V1/amasty_finder/map/all, method="getList" - get a list with all mappings.
9. Amasty\Finder\Api\ProductRepositoryInterface:
- POST /V1/amasty_finder/product/find, method="getProductsByFinderValues" - get products that match the chosen finder options.