In which file do you declare the observer?
A module MyModule needs to send notifications to customers only when the account was modified from a mobile app using the REST web APIs.
You decided to implement an observer for customer_save_after_data_object event.
In which file do you declare the observer?
A . etc/webapi_rest/events.xml
B . etc/adminhtml/events.xml
C . etc/webapi/rest_events.xml
D . etc/events.xml
Answer: D
Explanation:
Reference: https://magento.stackexchange.com/questions/256268/how-to-trigger-observer-by-rest-api
Latest Magento 2 Certified Associate Developer Dumps Valid Version with 103 Q&As
Latest And Valid Q&A | Instant Download | Once Fail, Full Refund
Subscribe
Login
0 Comments
Inline Feedbacks
View all comments