Can an embedded app add / modify the POS cart without the app being opened by user?

173 13 33

Hopefully my question makes sense - is there any kind of listener or subscribe method where an app can insert line items into the current POS cart without the embedded app itself having been opened? My use case here would be listening for line items from an external db and inserting them into the POS cart. Thank you.