How M2E Pro interacts with Magento API

Modified on Thu, 20 Jul 2023 at 04:35 PM

What is Magento API

Magento API is a framework that allows developers and integrators to use web third-party services for communicating with the Magento system. By means of the API, you can establish the connection between your Magento instance and third-party software.


This connection may be used to automatically exchange product, order, or customer information, optimizing the data transfer process as a result.


Does M2E Pro detect changes made by Magento API


M2E Pro operates based on core Magento functionality. The extension identifies product updates made through the standard Magento interface and synchronizes them on Channels.


Magento API is considered to be an external tool. If you are using it to update your product data, M2E Pro may not catch these changes.


M2E Pro does not respond to updates performed directly by Magento API. Instead, it reacts to certain Magento events responsible for catalog changes. Thus, the extension will detect the updates made by Magento API only if they are initiated by the following Magento events:

  • catalog_product_save_before
  • catalog_product_save_after
  • cataloginventory_stock_item_save_before
  • cataloginventory_stock_item_save_after

 Note

These events must be dispatched by Magento.

Otherwise, M2E Pro will not be able to track changes made to Magento Products and automatically update them on Channels.

 Tip

To keep M2E Pro notified about product data changes made by third-party tools, including Magento API, we recommend using predefined M2E Pro Models or the Magmi Import Plugin tool


If the use of M2E Pro Models or Magmi Import Plugin Tool is impossible for some reason, you can enable the Track Direct Database Changes option as a means of temporary help.

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select atleast one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article