Product Labels API Overview

Product Labels API

Info
We have created a public API collection for Product Labels 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.
Amasty\Label\Api\LabelRepositoryInterface - class for managing lables:
  1. GET /V1/amasty_labels/get/:id, method="getById" - get information about a label;
  2. DELETE /V1/amasty_labels/delete/:id, method="deleteById" - delete a label;
  3. POST /V1/amasty_labels/save, method="save" - create a label;
  4. GET /V1/amasty_labels/all, method="getAll" - get a list of all labels.

      • 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 URL; 2 - ...
      • Can I test how your modules work with API?

        Our team have created a public Postman workspace where we provide access to API collections from our modules. You can copy these API collections to test them in your own Magento installation together with our modules, and some collections can be ...
      • Product Labels | GraphQL methods

        Queries amLabelSetting description: get information about Product Labels module settings amLabelProvider (productIds: [Int], mode: AmLabelMode) description: get information about labels by product ID
      • Product Attachments API

        We have created a public API collection for Product Attachments 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 ...
      • Product Tabs API

        We have created a public API collection for Product Tabs 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 ...