Free Gift | GraphQL methods

Free Gift | GraphQL methods


  1. amPromoGetAvailableFreeGifts (cartId: String!)
    description: get the list of available promo items


  1. amPromoAddFreeGiftsToCart (cartId: String!, promoItems: [amPromoItemInput!])
    description: add promo items to the 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 ...
      • Gift Card | GraphQL methods

        Queries amGiftCardAccount(input: AmGiftCardAccountInput!) description: get gift card account information by code amGiftCardSetting description: get gift card module settings amGiftCardPreview(input: AmGiftCardPreviewInput) description: get rendered ...
      • One Step Checkout | GraphQL methods

        Queries getAdditionalFields (cartId: String!) description: get information about additional fields getDefaultIpData description: get information about default IP address getAvailableShippingMethods (cartId: String!) description: get the information ...
      • Advanced Conditions API (+Reward Points, Extra Fee, Free Gift, Shipping Rules, Shipping Restrictions)

        Advanced Conditions can be purchased both separately and within other Amasty modules: Reward Points, Extra Fee, Free Gift, Shipping Rules, Shipping Restrictions. The Advanced Conditions extension adds its functionality to the main modules, which ...
      • 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 ...