We often get questions about what our Magento 2 extensions support API and what methods they use. So, we decided to gather all this information in one place to make it easier for you to find. In this article, you can get acquainted with the first part of our extensions that support API.
Below you can see the table with the list of our modules and 4 methods they can use: post, put, get, delete. Some of the extensions send the method directly, and some of them use dependent modules. So in general, there are 4 possible options that we have marked with different colors:
METHODS |
||||
EXTENSION | POST | PUT | GET | DELETE |
Special Promotions for Magento 2 | ........... | ........ | ........ | ............... |
Special Promotions Pro for Magento 2 | ........... | ........ | ........ | ............... |
Loyalty Program for Magento 2 | ........... | ........ | ........ | ............... |
Free Gift for Magento 2 | ........... | ........ | ........ | ............... |
Reward Points for Magento 2 | ........... | ........ | ........ | ............... |
Affiliate for Magento 2 | ........... | ........ | ........ | ............... |
Promo Banners for Magento 2 | ........... | ........ | ........ | ............... |
Multiple Coupons for Magento 2 | ........... | ........ | ........ | ............... |
Generate and Import Coupons for Magento 2 | ........... | ........ | ........ | ............... |
Special Occasions Coupons for Magento 2 | ........... | ........ | ........ | ............... |
Promotions Manager for Magento 2 | ........... | ........ | ........ | ............... |
Countdown Timer for Magento 2 | ........... | ........ | ........ | ............... |
Abandoned Cart Email for Magento 2 | ........... | ........ | ........ | ............... |
Follow Up Email for Magento 2 | ........... | ........ | ........ | ............... |
The Amasty\Conditions\Api\Negotiable\TotalsInformationManagementInterface class answers for:
You can make the POST method="calculate"/> request to this class.
1. The Amasty\Rewards\Api\CheckoutRewardsManagementInterface class is responsible for:
You can make the following requests to this class:
2. The Amasty\Rewards\Api\GuestHighlightManagementInterface class allows guests to get Highlight for certain pages. You can make the POST method="getHighlight"/> request to this class.
3. The Amasty\Rewards\Api\CatalogHighlightManagementInterface class can process the following requests:
4. The Amasty\Rewards\Api\CheckoutHighlightManagementInterface class returns Highlight for a specific customer by passing an ID. You can make the GET method="getHighlightByCustomerId"/> request to this class.
5. The Amasty\Rewards\Api\RewardsRepositoryInterface class returns the reward balance for the specific customer by an ID. You can make the following requests to this class:
6. The Amasty\Rewards\Api\ExpirationDateRepositoryInterface class supports the following requests:
7. The Amasty\Rewards\Api\RewardsProviderInterface class can process the following requests:
8. The Amasty\Rewards\Api\RuleRepositoryInterface class can manage the following requests:
9. The Amasty\Conditions\Api\Negotiable\TotalsInformationManagementInterface class is responsible for:
You can send the POST method="calculate"/> request to this class.
The Amasty\PromoCountdown\Api\Service\DateDifferenceInterface class returns the difference between the current time and the time when the promotion should end. You can make the POST method="getDifference"/> request to this class.
METHODS |
||||
EXTENSION | POST | PUT | GET | DELETE |
Store Pickup for Magento 2 | ........... | ........ | ........ | ............... |
Store Pickup with Locator for Magento 2 | ........... | ........ | ........ | ............... |
Shipping & Payment by Customer Groups for Magento 2 | ........... | ........ | ........ | ............... |
Shipping Costs Calculator for Magento 2 | ........... | ........ | ........ | ............... |
Free Shipping Bar for Magento 2 | ........... | ........ | ........ | ............... |
Shipping Restrictions for Magento 2 | ........... | ........ | ........ | ............... |
Shipping Rules for Magento 2 | ........... | ........ | ........ | ............... |
Shipping Table Rates for Magento 2 | ........... | ........ | ........ | ............... |
Delivery Date for Magento 2 | ........... | ........ | ........ | ............... |
1. The Amasty\StorePickup\Api\GuestShippingMethodManagementInterface class is responsible for estimation shipping by address and returning the list of available shipping methods. You can send the POST method="estimateByExtendedAddress"/> request to this class.
2. The Amasty\StorePickup\Api\ShippingMethodManagementInterface class answers for estimation shipping can process the POST method="estimateByAddressId"/> request.
3. The Amasty\StorePickup\Api\ShipmentEstimationInterface class is answerable for estimation shipping by address and returning list of available shipping methods. It supports the POST method="estimateByExtendedAddress"/> request.
1. The Amasty\StorePickupWithLocator\Api\GuestLocationPickupValuesInterface class saves store location, working hours, and days. It can process the POST method="saveSelectedPickupValues"/> request.
2. The Amasty\StorePickupWithLocator\Api\LocationPickupValuesInterface class saves a store location, working hours, and days. You can make the POST method="saveSelectedPickupValues"/> request to this class.
The Amasty\ShippingBar\Api\BarManagementInterface class returns all the info about the shipping bar and can process the POST method="getFilledData"/> request.
1. The Amasty\Shiprules\Api\RuleRepositoryInterface class is responsible for the rules configuration. It supports the following requests:
2. The Amasty\Conditions\Api\Negotiable\TotalsInformationManagementInterface class answers for:
You can send the POST method="calculate"/> request to this class.
METHODS |
||||
EXTENSION | POST | PUT | GET | DELETE |
Customer Attributes for Magento 2 |
........... | ........ | ........ | ............... |
Order Attributes for Magento 2 | ........... | ........ | ........ | ............... |
1. The Amasty\Orderattr\Api\EntityDataRepositoryInterface class can manage the following requests:
2. The Amasty\Orderattr\Api\CheckoutDataRepositoryInterface class supports the POST method="save"/> request that creates a new order attribute.
3. The Amasty\Orderattr\Api\GuestCheckoutDataRepositoryInterface class can process the POST method="save"/> request that creates a new order attribute.
METHODS |
||||
EXTENSION | POST | PUT | GET | DELETE |
Payment Restrictions for Magento 2 | ........... | ........ | ........ | ............... |
Store Credit & Refund for Magento 2 | ........... | ........ | ........ | ............... |
Gift Card for Magento 2 |
........... | ........ | ........ | ............... |
Cash on Delivery for Magento 2 | ........... | ........ | ........ | ............... |
Stripe Payment for Magento 2 |
........... | ........ | ........ | ............... |
The Amasty\Conditions\Api\Negotiable\TotalsInformationManagementInterface class is responsible for:
You can make the POST method="calculate"/> request to this class.
1. The Amasty\StoreCredit\Api\ApplyStoreCreditToQuoteInterface class supports the following requests:
2. The Amasty\StoreCredit\Api\StoreCreditRepositoryInterface class can return the store credit balance to customers via the GET method="getByCustomerId"/> request.
1. The Amasty\GiftCard\Api\AccountRepositoryInterface class is responsible for configurations. It supports the following requests:
2. The Amasty\GiftCard\Api\ImageRepositoryInterface class is answerable for images for gift card settings. It can process the next requests:
3. The Amasty\GiftCard\Api\CodeSetRepositoryInterface class answers for code set configurations.
It can manage the following requests:
4. The Amasty\GiftCard\Api\GiftCardManagementInterface class supports the following requests:
5. The Amasty\GiftCard\Api\GuestGiftCardManagementInterface class can process the next requests:
The Amasty\CashOnDelivery\Api\PaymentManagementInterface class can check availability of cash on delivery via the POST method="checkAvailable"> request.
1. The Amasty\Stripe\Api\Quote\ApplePayGuestShippingMethodManagementInterface class support the next requests:
2. The Amasty\Stripe\Api\Quote\ApplePayShippingMethodManagementInterface class can manage the next requests:
METHODS |
||||
EXTENSION | POST | PUT | GET | DELETE |
PDF Customizer for Magento 2 | ........... | ........ | ........ | ............... |
Extra Fee for Magento 2 | ........... | ........ | ........ | ............... |
One Step Checkout for Magento 2 | ........... | ........ | ........ | ............... |
Thank You Page for Magento 2 |
........... | ........ | ........ | ............... |
1. The Amasty\Extrafee\Api\TotalsInformationManagementInterface class calculates quote totals based on the quote and fee. It supports the POST method="calculate"> request.
2. The Amasty\Extrafee\Api\GuestTotalsInformationManagementInterface class calculates quote totals based on the quote and fee. It can process the POST method="calculate"> request.
3. The Amasty\Extrafee\Api\FeesInformationManagementInterface class gets the fee according to the current quote and calculates the totals with this fee. It can manage the POST method="collect"> request.
4. The Amasty\Extrafee\Api\GuestFeesInformationManagementInterface class is responsible for receiving the quote based fee by the guest users and calculates the totals with this fee. You can make the POST method="collect"> request to this class.
5. The Amasty\Extrafee\Api\FeeRepositoryInterface class answers for rules configurations. It supports the following requests:
6. The Amasty\Conditions\Api\Negotiable\TotalsInformationManagementInterface class is responsible for:
It can process the POST method="calculate"/> request.
1. The Amasty\Checkout\Api\AdditionalFieldsManagementInterface class adds custom fields and supports the POST method="save"> request.
2. The Amasty\Checkout\Api\GuestAdditionalFieldsManagementInterface class adds custom fields for guest users and can manage the POST method="save"> request.
3. The Amasty\Checkout\Api\GiftMessageInformationManagementInterface class updates a gift message via the POST method="update"> request:
4. The Amasty\Checkout\Api\GiftWrapInformationManagementInterface class calculates quote totals based on the quote and fee. It supports the POST method="update"> request.
5. The Amasty\Checkout\Api\GuestGiftMessageInformationManagementInterface class updates the gift message for guest users via the POST method="update"> request.
6. The Amasty\Checkout\Api\DeliveryInformationManagementInterface class updates the delivery date with the help of the POST method="update"> request:
7. The Amasty\Checkout\Api\GuestDeliveryInformationManagementInterfaceclass updates the delivery date for guest users with the help of the POST method="update"> request.
8. The Amasty\Checkout\Api\ItemManagementInterface class supports the following requests:
• POST method="update">//Updates the item quantity and its options:
• POST method="remove">//Deletes time from the cart:
9. The Amasty\Checkout\Api\GuestItemManagementInterface class supports the following requests:
• POST method="update">//Updates the item quantity and its options:
• POST method="remove">//Deletes time from the cart:
10. The Amasty\Checkout\Api\AccountManagementInterface class saves the password via the POST method="savePassword"> request.
11. The Amasty\Checkout\Api\GuestQuoteManagementInterface class caves guest customer data to the quote and supports the POST method="saveInsertedInfo"> request.
12. The Amasty\Checkout\Api\QuoteManagementInterface class saves the customer data to the quote. It can manage the POST method="saveInsertedInfo"> request.
See also our guides on:
According to the statistics, you may find helpfull the following question about guest checkout.
Login and Registration Form