You can load an order by increment id using the snippet below. You can then loop through the items to use further in your code.

You can load an order by increment id using the snippet below. You can then loop through the items to use further in your code.