Its possible to get a Device ID within Shopify POS UI Extensions (Device API), but there is no information on where this ID comes from. I compared this ID to all IDs listed on my iPad settings’ About page but could not find it (even tried different encodings). I’m guessing this device ID may be a combination of the actual Device ID and an App ID (eg like this POS). Is it save to assume this device ID never changes, even across different app versions, etc?
Originally posted here - without any answer:
How is the POS Device ID generated in Shopify UI Extensions?
I can’t comment about how it’s created but if you want to look it up.
On POS, open More (…), go to support, view device information and then you can see the device id there.
Hi Lemike,
What would be the use case for knowing how the ID is generated?
Hi @Liam-Shopify, thanks for the reply!
I understand the internal generation details might not be documented, but I’m primarily trying to confirm the stability and uniqueness of the Device ID exposed via the POS Device API. Specifically:
- Is the device.id value guaranteed to remain the same across app restarts, POS updates, or OS upgrades?
- Is it persistent for the physical device, or could it change under certain conditions (e.g. reinstallation, reset)?
We’re exploring a backend integration that depends on associating certain records with the originating device, so knowing whether this ID is truly stable and unique per hardware unit is critical.
Any clarity you can provide on that persistence and uniqueness would be greatly appreciated!