Product Attachments API

Product Attachments API

API functionality for Product Attachments will be available with the API for Product Attachments Add-On only.

1. Amasty\ProductAttachmentApi\Api\FrontendAttachmentInterface - class for getting product attachments on frontend:
  1. GET /V1/amasty_product_attachment/getByProductId, method="getByProductId" - get an attachmetn by product ID;
  2. GET /V1/amasty_product_attachment/getByCategoryId, method="getByCategoryId" - get an attachment by category ID;
  3. GET /V1/amasty_product_attachment/getByFileIds, method="getByFileIds" - get an attachment by file ID.
2. Amasty\ProductAttachmentApi\Api\DownloadFileInterface - class for downloading files:
  1. GET /V1/amasty_product_attachment/download, method="download" - download a file.
3. Amasty\ProductAttachmentApi\Api\UploadFileInterface - class for uploading files (attachments):
  1. POST /V1/amasty_product_attachment/filemanage/uploadFile, method="upload" - upload a file.
4. Amasty\ProductAttachmentApi\Api\BackendAttachmentInterface - class for managed attachments in backend:
  1. GET /V1/amasty_product_attachment/filemanage/:fileId, method="getById" - get information about an attachment;
  2. POST /V1/amasty_product_attachment/filemanage, method="save" - create an attachment;
  3. PUT /V1/amasty_product_attachment/filemanage/:fileId, method="save" - edit an attachment;
  4. DELETE /V1/amasty_product_attachment/filemanage/:fileId, method="deleteById" - delete an attachment;
  5. GET /V1/amasty_product_attachment/filemanage/files, method="getList" - get a list of all attachments.

      • Related Articles

      • 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 ...
      • 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 ...
      • Product Tabs API

        Amasty\CustomTabs\Api\TabsRepositoryInterface - classfor managing tabs: POST /V1/amasty_customTabs/tabs, method="save" - create a tab PUT /V1/amasty_customTabs/tabs/:tabId, method="save" - edit a tab DELETE /V1/amasty_customTabs/tabs/:tabId, ...
      • 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 ...
      • Announcements

      • Already Done in Q1'23

        New features and improvements Order Attributes v3.8.0 NEW now Order Attributes are placed on the PayPal Review Page; we added compatibility with Hyvä Theme for the module. You can find package for installing in composer suggest (Note: the compatibility
      • Roadmap | What to expect in Q1'23

        New features and improvements Improved Layered Navigation generate SEO-friendly URLs for multi-select Category filter; better speed performance of the Apply filters button; improve Category list load time. Special Promotions Pro optimize data types in
      • Already Done in Q4'22

        New Amasty services Make sure your site is well-performing with our E-commerce QA testing service. Let our specialists check various elements of your website and get the issues fixed. The service is available for any e-commerce platform (Magento, Shopify,
      • Roadmap | What to expect in Q4'22

        New features and improvements Elastic Search better performance of synonyms; REST API support. Product Labels enhanced extension performance with a lot of products on the page. Blog Pro posts migration from one Magento instance to another; email notifications
      • Already done in Q3'22

        New solutions Our new SaaS tool - Website SEO Health Check. Discover the most severe SEO mistakes which can damage your website. Available as part of Pro and Premium SEO Toolkit. New features and improvements Import and Export NEW we added the possibility