Product Labels API

Product Labels API

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

      • 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
      • 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 ...
      • How to ensure product labels are responsive?

        Occasionally, labels may appear excessively large in contrast to the product image when viewed on mobile devices. This problem usually stems from the Label Size setting not being correctly configured. To ensure your labels remain responsive on mobile ...