Queries
DPP
Query Digital Product Passports.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Query Digital Product Passports.
query {
dpp(id: "dpp_xyz789") {
id
publicUrl
qrCodeUrl
status
locale
product { id name }
sections {
name
fields { key value unit }
}
auditTrail {
timestamp
action
actor
}
createdAt
updatedAt
}
}
| Argument | Type | Required | Description |
|---|---|---|---|
id | ID! | Yes | DPP identifier |
query {
dppByProduct(productId: "prod_abc123") {
id
publicUrl
qrCodeUrl
status
sections {
name
fields { key value unit }
}
}
}
| Argument | Type | Required | Description |
|---|---|---|---|
productId | ID! | Yes | Product identifier |
query {
dpps(
first: 20
filter: { status: ACTIVE }
) {
totalCount
edges {
node {
id
publicUrl
status
product { id name }
createdAt
}
cursor
}
pageInfo { hasNextPage endCursor }
}
}
| Argument | Type | Required | Description |
|---|---|---|---|
first | Int | No | Results to return (default: 20) |
after | String | No | Cursor for pagination |
filter | DppFilter | No | Filter by status |