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 }}
Arguments:
Argument
Type
Required
Description
id
ID!
Yes
DPP identifier
dppByProduct
Retrieve the DPP for a specific product.
query { dppByProduct(productId: "prod_abc123") { id publicUrl qrCodeUrl status sections { name fields { key value unit } } }}
Arguments:
Argument
Type
Required
Description
productId
ID!
Yes
Product identifier
dpps
List all Digital Product Passports.
query { dpps( first: 20 filter: { status: ACTIVE } ) { totalCount edges { node { id publicUrl status product { id name } createdAt } cursor } pageInfo { hasNextPage endCursor } }}