public function execute(\Magento\Framework\Event\Observer $observer)
 {
     try {
         $order_id = $observer->getOrderId();
         $order = $this->_orderFactory->load($order_id);
         if (!$order) {
             return;
         }
         $this->apiOrder->post($order, Api::ACTION_UPDATE);
     } catch (\Exception $e) {
         $this->logger->critical($e);
     }
 }
 /**
  * Refresh addresses in grids according to performed changed
  * This is manual admin action, as result we perform this operation without delay
  *
  * @param EventObserver $observer
  * @return void
  */
 public function execute(EventObserver $observer)
 {
     $this->gridPool->refreshByOrderId($observer->getOrderId());
 }