Background extension target for POS event observation
The pos.app.ready.data target runs for the entire POS session, letting your extension observe POS events and run background logic without rendering any UI surface. Use it for event observation, data storage, and calling non-visual background APIs.
What you need to do
Subscribe to Shopify POS events with shopify.addEventListener():
shopify.addEventListener('transactioncomplete', (event) => {
console.log('Transaction complete', event);
});
Supported events
Supported events include:
transactioncompletecashtrackingsessionstartcashtrackingsessioncomplete
For comprehensive details and best practices, refer to the app background target documentation.
Fetched July 9, 2026

