We need to handle order objects being passed in as well

We need to handle order objects being passed in as well and stock_location.id is available.