Amasty Extensions with API Support

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 - HTTP method;
3 - module interface class that handles the request;
4 - module method that is used to execute the request.


Usually, there are 4 basic methods in the API from HTTP:

GET - getting an object\an array of objects (without changing it);
POST - creation of a new object;
PUT - changing an already created object;
DELETE - deleting an object.
      
If you have access to the extension, you may check the available API requests in the /Module_Name/etc/webapi.xml file. In case the file does not exist, the corresponding module does not have API interfaces now. 



We have created a public collection 

Below, you may find the table with the info about API interfaces present in our extensions.

✓ - the extension supports the method;
〜 - the main extension doesn't support the method, but its submodule does;
○ - the extension supports the method and works both separately and with other extensions from the mentioned list;
 - the extension doesn't support the method. 

Extension/Method
GET
POST
PUT
DELETE
Improved Layered Navigation (via Shop By Base and Shop by Page submodules)
Shop by Brand (via Shop by Page submodule)
One Step Checkout 
(via OSC Core, OSC Delivery Date and OSC Gift Wrap submodules)
Product Attachments
(via API add-on)
Advanced Conditions (+ Reward Points, Extra Fee, Free Gift, Shipping Rules, Shipping Restrictions)
Promo Banners Lite (+Free Gift, Special Promotions, Special Promotions Pro, Loyalty Program)
Customer Attributes (via Customer Login Attributes Submodule)
Import Export (via Import Export Core submodule)
RMA (Pro & Premium)

      • Related Articles

      • 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 ...
      • Store Pickup API

        1. Amasty\StorePickup\Api\GuestShippingMethodManagementInterface - class for managing shipping methods on guest checkout: POST /V1/guest-carts/:cartId/estimate-shipping-methods, method="estimateByExtendedAddress" - displays available shipping methods ...
      • Reward Points API

        We have created a public API collection for Reward Points 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 ...
      • What Amasty extensions support GraphQL?

        Amasty has introduced additional GraphQL packages for extensions that are GraphQL compatible. These packages are listed in the 'suggest' section of the composer.json file. As a result, they are not automatically installed with the main module. To ...
      • What Amasty extensions support PWA?

        For PWA compatibility, Amasty designed a separate PWA add-ons. They go as supplementary solutions to the main extensions. Amasty PWA add-ons provide the same functionality as the original Amasty extensions. The PWA add-ons are created with the ...