Store Credit & Refund API
1. Amasty\StoreCredit\Api\ApplyStoreCreditToQuoteInterface - class for managing store credits on checkout:
- POST /V1/carts/mine/amstorecredit/apply, method="apply" - apply store credits to the quote;
- POST /V1/carts/mine/amstorecredit/cancel, method="cancel" - remove the applied store credits.
2. Amasty\StoreCredit\Api\StoreCreditRepositoryInterface - class for getting information about store credits:
- GET /V1/customers/me/amstorecredit, method="getByCustomerId" -get information about store credits by customer ID.
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 - ...
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 ...
Store Pickup with Locator
1. Amasty\StorePickupWithLocator\Api\GuestLocationPickupValuesInterface - class for managin store pickup for guests: POST /V1/amstorepickup/:cartId/saveSelectedPickupValues, method="saveSelectedPickupValues" - deprecated query, retained for backward ...
Reward Points API
1. Amasty\Rewards\Api\CheckoutRewardsManagementInterface - class responsible for applying reward points on checkout: PUT /V1/carts/mine/points/:points, method="set" - apply points; DELETE /V1/carts/mine/points/delete, method="remove" - remove applied ...
Order Attributes API
1. Amasty\Orderattr\Api\EntityDataRepositoryInterface - class for managing order attributes in the backend: POST /V1/amasty_orderattr/entityData, method="save" - create an attribute; PUT /V1/amasty_orderattr/entityData/:entityId, method="save" - edit ...