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 - ...
Can I refund orders with store credits?
The RMA extension doesn’t deal with a refund itself. It works only with refund requests and is intended to help admins manage them much faster and easier. Everything about creating credit memos and sending money or store credits to customers should ...
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 ...
Can I get a refund on another card/PayPal account?
At the moment it is not possible to make a refund to another credit card or PayPal account. In this case, our team can only suggest requesting a refund with store credits for future purchases.