GS1 Digital Link
Every Stockaj identifier is also a web-resolvable URL — a GS1 Digital Link. Putting a GS1 Digital Link on a printed QR label means a consumer's phone can resolve it by tapping the label.
URL pattern
https://id.stockaj.io/<primary-AI>/<value>[/<secondary-AI>/<value>...][?<extra-AI>=<value>...]
The primary AI is one of:
| Primary AI | Means |
|---|---|
01 | GTIN |
00 | SSCC |
414 | GLN |
8003 | GRAI |
8004 | GIAI |
Examples
https://id.stockaj.io/01/09506000134352
https://id.stockaj.io/01/09506000134352/21/ABC123
https://id.stockaj.io/01/09506000134352/10/LOT42?17=270101
https://id.stockaj.io/00/109506000134352432
Content negotiation
The resolver returns different formats based on Accept:
Accept header | Response |
|---|---|
application/json | ResolvedIdentity JSON |
application/ld+json | JSON-LD with linked-data context |
text/html | Public landing page (only if tenant enables customer-facing data) |
Why use Digital Link instead of GS1 Element String
- One QR contains everything a downstream system needs and is human/phone-resolvable.
- Same URL works on a kiosk, a phone, or a back-office scanner.
- No proprietary character sets — pure HTTPS URLs.