I want to retrieve order details whenever an order is placed or updated in Magento. Currently, I am working on integrating orders with CRM. Therefore, whenever an order is created or updated in Magento, I need to receive the specific details of that order. Destination should be my function’s REST API URL. What are the possible ways to do this?