id.codes
id.codes — push products as Digital Product Passports via an idempotent upsert (matched on GTIN / URI / dpp_id).
What it does
What you'll need to set it up
Base URL of the id.codes API (https://dev.id.codes for dev, https://view.id.codes at go-live). Point at this app's /api/mock/id-codes for local testing.
Your id.codes API key (Admin → Configuration → API Keys). Needs the config:read and products:write scopes. Stored encrypted — never leaves this server.
How id.codes tells one passport from another. It finds a passport by its GTIN plus its batch, and treats the same GTIN with and without a batch as two passports. Every pipeline sending here must map each part, all of them the same way, and a row with a part empty is refused, not sent. Choose "GTIN and batch" when every product carries a batch (a season code, for example).
Technical reference — endpoints
| Operation | Direction | Call |
|---|---|---|
| POST /api/v1/products (upsert) | Write (target) | POST /api/v1/products |
Connection check: GET /api/v1/config
Set it up inside Smart Data Studio in a few minutes.