1. Amasty\Coupons\Api\GetCouponsByCartIdInterface - class for getting information about applied coupons.
- GET /V1/carts/:cartId/multicoupons, method="get" - get applied coupons by cart ID;
- GET /V1/carts/mine/multicoupons, method="get" - get coupons applied in my cart.
2. Amasty\Coupons\Api\ApplyCouponsToCartInterface - class for applying coupons.
- POST /V1/carts/:cartId/multicoupons/apply, method="apply" - apply coupons to a specific cart by ID;
- POST /V1/carts/mine/multicoupons/apply, method="apply" - apply coupons to my cart.
3. Amasty\Coupons\Api\GuestGetCouponsByCartIdInterface - class for getting information about applied guest coupons.
- GET /V1/guest-carts/:cartId/multicoupons, method="get" - get coupons applied to a guest cart.
4. Amasty\Coupons\Api\ApplyCouponsToGuestCartInterface - class for applying guest coupons.
- POST /V1/guest-carts/:cartId/multicoupons/apply-to-cart, method="applyToCart" - apply coupons to guest cart.
5. Amasty\Coupons\Api\ApplyCouponsToGuestCartInterface
- POST /V1/carts/mine/multicoupons/apply-to-cart, method="applyToCart" - apply coupons to my cart.