See all services → Shopify Plus Partner
API Developer

Identify Which Extension Version Runs on Each POS Device

POS UI extensions can now read shopify.extension.version to report which published build a device is running. A small addition that makes debugging a cached, offline-capable POS fleet far less speculative.

Executive summary

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

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

  1. Identify which POS UI extensions you maintain and which API version each targets.
  2. Move the extensions you actively support to API version 2026-10.
  3. Read shopify.extension.version and attach it to every error and diagnostic log the extension emits.
  4. Handle the undefined case explicitly so local development and testing are unaffected.
  5. Use equality comparison only, and never parse or sort the value as a semantic version.
  6. Surface the version on a support screen that store staff can read aloud, and add it to your incident checklist.
  7. 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.