I want to implement erp system in my Magento 2.3.4 website, i need to check whether customer has changed his name or dob, if the customer changed it , i need to send the updated data to the erp system, how can i achieve this?

1 Answer 1


I think to use the Event to send the updated data to the ERP system.

check below event I hope this helps to complete this functionality.

Event name: customer_account_edited

File: vendor/magento/module-customer/Controller/Account/EditPost.php

        ['email' => $customerCandidateDataObject->getEmail()]


you can try this event: customer_save_after_data_object and customer_address_save_after, customer_address_save_before if above event is not work then try this event.

  • how can i check if the email, name and dob has been changed using those observer? as i know that observer only attach the customer email
    – Padawan
    Commented Jun 2, 2020 at 8:38
  • I have updated my answer. You can try to implement one by one the above observers to achieve this functionality
    – Devidas
    Commented Jun 2, 2020 at 8:50

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.