Multiple Coupons | GraphQL methods

Multiple Coupons | GraphQL methods

Info
Kindly note that the GraphQL functionality for Multiple Coupons is available as a part of an active product subscription or support subscription

Query

  1. amGetCouponsByCartId
    description: get coupons by cart id.

Mutations

  1. amApplyCouponsToCart
    description: apply coupons to cart.

  2. amApplyCouponsToCartGuest
    description: apply coupons to guest cart.


      • Related Articles

      • 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 ...
      • Multiple Coupons API

        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 ...
      • Multiple Wishlist | GraphQL methods

        Query amGetWishlists description: get array of wishlists for the requested page amGetRecentlyUpdatedWishlists description: get recently updated wishlists Mutations amCreateWishlist description: create new wishlist amAddProductsToWishlist description: ...
      • Promo Banners | GraphQL methods

        Kindly note that the GraphQL functionality for Promo Banners is available as a part of an active product subscription or support subscription Queries amPromoBanners (uid: Product|Category ID; cartId: Cart ID; searchQuery: Search keywords; pageType: ...
      • Improved Layered Navigation | GraphQL methods

        The Improved Layered Navigation extension doesn't have its own GraphQL requests. Instead, it extends the default Magento requests by introducing supplementary details. You can get additional information stored by the Improved Layered Navigation ...