DPPs
A Digital Product Passport (Dpp) is an instance of a ProductTemplate filled
with field_values and journey_steps. Reads need dpps:read; mutations need
dpps:write. Publish/unpublish is gated behind a separate dpps:publish scope.
This is the partner integration surface. Do not call /api/v1/dpps —
that namespace is session-cookie only and is not a machine-to-machine API.
List
GET /api/v2/dpps
Paginated list of DPPs in the calling organisation (to_partner_summary_json).
Useful filters:
search=...substring match onname/internal_id/shortcodetemplate_id=…has_missing_data=true— DPPs with at least one missing required field
{
"data": [
{
"id": "9c8…",
"name": "Acme Cell-Pack 4S",
"shortcode": "abc123",
"is_public": true,
"product_template_id": "01G…",
"completeness_score": 80,
"created_at": "2026-05-01T09:14:11Z",
"updated_at": "2026-05-09T17:02:55Z"
}
],
"meta": { "page": 1, "per_page": 25, "total_pages": 4, "total_count": 86 }
}
Show
GET /api/v2/dpps/:id
Returns the full to_partner_json shape (includes all fieldvalues regardless
of `publiclyaccessible?`). Use this for partner-side rendering.
Create
POST /api/v2/dpps (scope dpps:write)
Send top-level JSON fields. Do not wrap the body in "dpp": { … }.
{
"name": "Acme Cell-Pack 4S",
"description": "Pack for the 2026 model year",
"internal_id": "SKU-4S-001",
"shortcode": "acme4s",
"template_id": "01G…",
"unique_product_id_type": "GS1_DIGITAL_LINK_URL",
"unique_product_id": "https://id.acme.example/01/09506000134352/21/4S-000123",
"granularity": "item",
"unique_economic_operator_id_type": "SIREN",
"unique_economic_operator_id": "552100554",
"backup_operator_id": "0002:912345678",
"field_values": [
{ "field_id": "01F…", "value": "Acme" },
{ "field_id": "01F…", "value": "1234567" }
]
}
field_values may be omitted; you can fill them later via PATCH. The DPP
starts with is_public: false. A 201 response is the partner JSON of the
new DPP (not wrapped in "data").
Identifiers (DPP Core Model)
Field names and allowed values follow Orobo's DPP Core Model & Mapping Tables.
You issue the identifiers; Orobo never generates them. You declare each
identifier's type (a code from the id_types table); Orobo reads the EN
18219 scheme and, for ISO/IEC 6523 types, the ICD from that type, never from the
value.
| Field | Values |
|---|---|
unique_product_id_type |
GS1_DIGITAL_LINK_URL (S1, default), ASC_MH10_URL (S1), IEC61406_IL (S2), DID_PRODUCT (S3), RFID_2D (S4), DOI_PRODUCT (S5) |
unique_product_id |
The identifier exactly as issued (full URL, DID, or ISO/IEC 15459 UII string for RFID_2D) |
granularity |
model, batch or item. The identifier must have that granularity's form (e.g. GS1 /21/ = item, /10/ = batch; MH10 .1P = model, .1P + .1T = batch, .25S = item) |
unique_economic_operator_id_type |
An id_types code usable for operators: SIREN, SIRET, LEI, DUNS, GLN_ICD, EU_VAT, national registers (S6), GLN_PARTY_AI, MH10_DI_ORG (S7), DID_ORG (S8), DOI_ORG (S9), … |
unique_economic_operator_id |
The value without any ICD prefix |
unique_facility_id_type / unique_facility_id |
Optional. An id_types code usable for facilities: SIRET, GLN_ICD, GLN_LOCATION_AI, MH10_DI_ORG, DID_ORG, DOI_ORG, … |
economic_operator_credential / facility_credential |
Required for DID_ORG: { "type", "issuer", "subjectId", "validity": { "validFrom", "validUntil" } }; subjectId must equal the DID |
backup_operator_id |
The back-up DPP service provider's EN 18219 identifier, usually "{ICD}:{value}". Required to publish, except for batteries (recommended); must differ from the economic operator |
Rules:
- Each value is checked against the
product_id_formatsrow for its type and granularity. GS1 Digital Link:https://{domain}/01/{gtin14}[/10/{lot}][/21/{serial}], valid GTIN check digit, lot/serial at most 20 characters. DID:did:web,did:ethrordid:ebsi. DOI:https://doi.org/10.{4-9 digits}/…. - A product identifier is unique platform-wide on its normalized form (e.g.
GTIN + serial, whatever the domain). Once the DPP is first published it is
reserved forever, even after deletion, and it and its
granularitycan no longer be changed (422). - Responses carry
unique_product_id,unique_product_id_type,unique_product_id_scheme,granularity,dpp_status,last_updated,economic_operator_id(for S6"{ICD}:{value}", e.g."0002:552100554"), theunique_economic_operator_id_*andunique_facility_id_*fields,facility_id,backup_operator_id,content_specification_ids,eu_registration_statusandregistration_id. digital_product_passport_idishttps://{domain}/dpp/{uuid}.
Look up by product identifier
GET /api/v2/dpps/by_product_id?unique_product_id=…[&unique_product_id_scheme=S1] and
POST /api/v2/dpps/ids_by_product_ids ({ "product_ids": [{ "unique_product_id": "…", "unique_product_id_scheme": "S1" }] })
match on the normalized identifier, so any domain spelling of the same GS1
identifier resolves. Without a scheme, a legacy DPP's shortcode is still matched.
Update
PATCH /api/v2/dpps/:id (scope dpps:write)
Same top-level body as create. To replace a field value send the field's id
again with the new value; we upsert. 200 returns the updated partner JSON.
Delete
DELETE /api/v2/dpps/:id — permanently deletes the record; 204 on success.
Publish (make public)
POST /api/v2/dpps/:id/publication (scope dpps:publish)
Starts the same publish as “go live” / “make public” in the app: Orobo writes
the DPP's hash to the IOTA blockchain, and the DPP becomes public once that
write succeeds. There is no separate visibility toggle.
The DPP must be ready (name, internal_id, shortcode, template,
required fields, required documents, a valid EN 18219 product identifier with
its granularity, and an economic operator identifier). Incomplete DPPs return 422 with
RFC 7807 problem-details and an errors list of blockers. Empty mandatory
fields are listed by name (DPP is not compliant: 2 mandatory field(s) empty: …).
Publishing a non-compliant DPP. If the only blockers are empty mandatory
fields and/or outstanding compliance requirements, resend the call with
force=true (query or JSON body) to publish anyway. Every forced publication
is recorded on the DPP: who confirmed it (your OAuth application), when, and
which mandatory fields and requirements were missing. force never bypasses
the other blockers above (basic info, documents, identifiers, carrier type).
On success, 202 Accepted returns the partner JSON with
status: "publication_pending":
{
"id": "9c8…",
"name": "Acme Cell-Pack 4S",
"status": "publication_pending",
"is_public": false,
"published_at": null,
"shortcode": "acme4s",
"completeness": { "ready_to_publish": true }
}
The blockchain write runs in the background. When it succeeds the DPP is set
is_public: true with a published_at, and the dpp.published webhook fires;
when it fails the status becomes publication_failed and the
dpp.publication_failed webhook fires. The response does not include a hash
or transaction id; read those from
Blockchain verification.
Blockchain verification
GET /api/v2/dpps/:id/blockchain_verification (scope dpps:read)
Reads the latest entry of the DPP's chain on IOTA and compares its hash with
the hash Orobo recorded when the DPP was published. 200 means the chain
matches:
{
"blockchain_verified": true,
"hash_match": true,
"hash_value": "3d96a4…",
"blockchain_hash": "3d96a4…",
"local_hash": "9ef5e9…",
"data_changed_since_update": true,
"transaction_id": "8xQ…",
"explorer_url": "https://explorer.iota.org/…",
"network": "testnet",
"verified_at": "2026-10-05T06:48:22Z",
"time_since_publication": 3600,
"verification_method": "latest_entry_verification"
}
data_changed_since_update: true means the DPP has been edited since its last
blockchain write; the on-chain record still matches what was written then.
422 problem-details is returned when the DPP is not published, has no
successful blockchain record, the on-chain hash differs, or the chain cannot
be read. The reason is in detail.
Unpublish
DELETE /api/v2/dpps/:id/publication (scope dpps:publish)
Sets is_public = false. The shortcode is preserved so re-publishing keeps
the same public URL. 200 returns the partner JSON with is_public: false.
Anonymous public reads
GET /api/v2/public/dpps/:shortcode needs no authentication and only returns
publicly accessible fields. There is no public list. See
Public DPPs.