Extra Fee | GraphQL methods

Extra Fee | GraphQL methods

Queries
  1. getListFeeItems
    description: get a list of created fees

  2. getFeeItemsForQuote(cart_id: String!)
    description: get a list of fees available in the current cart

  3. getFeeOptions(fee_id: Int!, store_id: Int!)
    description: get a list of fee options
     
  4. getAppliedFeeOptions(cart_id: String!)
    description: get a list of fee options applied to current cart

Mutations
  1. applyExtraFees(cart_id: String!, fee_id: Int!, options_ids: String!) 
    description: apply or cancel (set options ids to 0) extra fees to current cart
      • Related Articles

      • Extra Fee API

        1. Amasty\Extrafee\Api\TotalsInformationManagementInterface - class for managing cart totals for logged-in users: POST /V1/amasty_extrafee/carts/:cartId/totals-information, method="calculate" - calculate totals of a specific cart; POST ...
      • 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 ...
      • 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 ...
      • 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 ...