Mega Menu API

Mega Menu API

1. Amasty\MegaMenu\Api\LinkRepositoryInterface - class for managing links inside the menu:
  1. POST /V1/amasty_megaMenu/link, method="save" - create a link;
  2. PUT /V1/amasty_megaMenu/link/:entityId, method="save" - edit a link;
  3. DELETE /V1/amasty_megaMenu/link/:entityId, method="deleteById" - delete a link;
  4. GET /V1/amasty_megaMenu/link, method="getById" - get information about a link;
  5. GET /V1/amasty_megaMenu/link/all, method="getList" - get a list with all links.

2. Amasty\MegaMenu\Api\ItemRepositoryInterface - class for managing menu items:
  1. POST /V1/amasty_megaMenu/item, method="save" - create an item;
  2. PUT /V1/amasty_megaMenu/item/:entityId, method="save" - edit an item;
  3. DELETE /V1/amasty_megaMenu/item/:entityId, method="deleteById" - delete an item;
  4. GET /V1/amasty_megaMenu/item, method="getById" - get information about an item;
  5. GET /V1/amasty_megaMenu/item/all, method="getList" - get a list with all items.
      • 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 - ...
      • Mega Menu | GraphQL

        Queries amMegaMenuTree description: get menu tree amMegaMenuAll description: get all menu items amMegaMenuWidget description: get information about the Amasty MegaMenu Products Widget
      • 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 ...
      • Reward Points API

        1. Amasty\Rewards\Api\CheckoutRewardsManagementInterface - class responsible for applying reward points on checkout: PUT /V1/carts/mine/points/:points, method="set" - apply points; DELETE /V1/carts/mine/points/delete, method="remove" - remove applied ...
      • Order Archive API

        Amasty\Orderarchive\Api\ArchiveProcessorInterface - class for managing order archives in backend: POST /V1/amastyMoveToArchive, method="moveToArchive" - move an order to archive; POST /V1/amastyMoveFromArchive, method="removeFromArchive" - remove an ...