By using this observer you can get only order_ids if you want to get quote_id you need to load order object. load order using order id after then you can get ...
Try this:
... you will learn to copy custom data from a quote object to an order
public function yourMethod($observer) { $order= $observer->getEvent()-> getOrder(); $quote= $observer->getEvent()->getQuote(); $id ...
Adding custom product attribute to quote and order items in Magento
Preconditions Magento 2.1 Steps to reproduce Create a custom
Solved: Event.xml OrderObserver.php _objectManager = $objectManager ; $this ... \Magento\Quote\Model\QuoteFactory $quoteFactory,
Event name: sales_quote_remove_item; File: vendor/magento/Collect/Model/ Quote.php. $this->_eventManager->dispatch('sales_quote_remove_item', ...
... my custom data saved. This is the code in observer: $quoteId = Mage:: getSingleton('checkout/session')->getQuote()->getEntityId(); $quote ...
Copy additional options from quote item to order item in Magento2,