You can get the Shipment collection for the specific order by order increment id in Magento 2.
Using Magento\Sales\Api\ShipmentRepositoryInterface interface, you need to use getList() function to fetch no. of Shipment by sales order increment id.
When you check the sales_shipment table, one field order_id is available in sales_shipment table so you first fetch the order id from the order increment id. Continue reading “Get Shipment data by order increment id Magento 2.”