This function handles the creation of a new order. If the new order is successfully created,
it removes the ingredients necessary to complete the order from the warehouse.
If one or more ingredients become missing, it sends to all the manager frontends logged a notification.
At the end, it sends a message back with the response of the API.
This function handles the creation of a new order. If the new order is successfully created, it removes the ingredients necessary to complete the order from the warehouse. If one or more ingredients become missing, it sends to all the manager frontends logged a notification. At the end, it sends a message back with the response of the API.