Skip to content

Magento 2 – Check if customer and customer addres created from admin backend

Is there a way in Magento 2 to check/know if a customer and a customer addres is created/edited from admin panel ?

I was thinking using a oberver on customer_address_save_before and adminhtml_customer_save_before but I’m not sure it concern only creation/edition made in admin panel