Skip to content

Magento 2 : Create event observer when order placed and updated [duplicate]

In Magento 2, How to create event and observer for the REST API when an order is placed or updated.

Is this possible to create event and observer for REST API?.
If not, could anyone provide me with the correct solution.