Skip to content

Get inventory source details in magento 2 observer

I’m trying to get the inventory stock details for an order in observer using the event sales_order_shipment_save_after. I cannot find the inventory data.

Only getting order data.

Anyone help me.