Executive summary
- POS UI extensions targeting API version 2026-10 can read shopify.extension.version, which names the published extension version running on the device.
- POS caches extension bundles and runs offline, so the build on a register is not necessarily the one you last deployed. This field makes that answerable rather than inferred.
- Relevant to development teams supporting POS extensions, and to the retail and IT staff who escalate device-specific behaviour.
What changed
A POS UI extension can now ask what version of itself is running. The value comes from shopify.extension.version and matches the version name shown on the Versions page in the Dev Dashboard, which is the name assigned when the extension was deployed with shopify app deploy.
Two properties are worth internalising before you build on it. The value is an opaque name rather than a version number, so compare it for equality and do not sort or range check it. Semantic versioning assumptions will not hold. It is also undefined when the extension runs from a local development server, so any code reading it has to handle absence.
The field is available to extensions targeting API version 2026-10. Earlier versions are unchanged and require no action.
Why it matters
The underlying problem is that POS is not a browser tab. It caches extension bundles so the register keeps working when connectivity drops, which is the right trade for retail, but it means a device can run a build several deploys behind. Establishing which build a register was running previously meant asking staff what they saw and reasoning backwards.
For an enterprise retailer with a mixed device fleet, that uncertainty carries a real cost. A report from one location gets triaged against the assumption that every device has the current build, the team cannot reproduce it, and the ticket cycles. Being able to log or display the running version turns a multi-day exchange into a single question with a definite answer.
It also shrinks the blast radius of a bad deploy. Log the version alongside extension errors and you can see whether failures cluster on one build or are spread evenly, which tells you whether to roll back or keep debugging. That is worth having in place before a peak trading weekend rather than during one, and it is small enough to fold into your next round of POS extension development.
Role-specific impact
- Marketers: No direct impact. Faster diagnosis of in-store extension issues protects anything depending on a POS tile, such as loyalty enrolment or email consent capture.
- Developers: Add the version to your error logging and to any diagnostic screen you expose. Compare by equality only. Guard for undefined so local development is unaffected, and resist logic that branches on the version name, which couples behaviour to deploy naming.
- Store admins: Nothing to configure. If your app partner surfaces the version on a support screen, capture it when raising an issue. It usually removes a round of questions from the thread.
Use-case example
Real-world scenario
A multi-location retailer reported that a custom returns extension was rejecting valid gift receipts, but only sometimes and only at certain stores. Three support cycles failed to reproduce it. Once the team attached the running version to the extension's error payload, the next occurrence showed the affected registers were on a build from two deploys earlier, cached before an overnight connectivity outage. Diagnosis then took under an hour, against roughly nine days across the preceding cycles, and the remedy was a forced refresh at four stores rather than a code change.
Implementation checklist
- Identify which POS UI extensions you maintain and which API version each targets.
- Move the extensions you actively support to API version 2026-10.
- Read shopify.extension.version and attach it to every error and diagnostic log the extension emits.
- Handle the undefined case explicitly so local development and testing are unaffected.
- Use equality comparison only, and never parse or sort the value as a semantic version.
- Surface the version on a support screen that store staff can read aloud, and add it to your incident checklist.
- Keep deploy version names meaningful, since the field is only as useful as its naming convention.
FAQ
Q: Is this a version number we can compare to decide whether a device is out of date?
A: No. It is an opaque name, so equality is the only safe comparison. To establish whether a device is behind, check the reported name against the version you expect to be live rather than ordering the values.
Q: Why is the value undefined in our development build?
A: Because the extension runs from a local development server, which has no published version. That is expected. Write the code so a missing value is a normal state, not an error.
Resources
POS UI extensions documentation
Need guidance? Talk to Makro.