Is it possible to fetch data from Multiple programs using M3 API's for a M3 Information viewer widget?

Hello,

Is there a way that we can fetch data from multiple programs using API's for M3 Information viewer widget?

What is that I'm trying to accomplish?

I'm trying to create an M3 widget which has open customer order information (Status 22) along with the Available inventory for each of the order line.

Thanks

DS Sharma