How do you get a node ID from an order in ubercart?
I should have been clearer, its ubercart marketplace.

I got it to work this way:

$items = uc_cart_get_contents();
foreach ($items as $item) {
$product = node_load($item->nid);
      }