Skip to main content

dpp

Retrieve a Digital Product Passport by ID.
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:
ArgumentTypeRequiredDescription
idID!YesDPP 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:
ArgumentTypeRequiredDescription
productIdID!YesProduct 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 }
  }
}
Arguments:
ArgumentTypeRequiredDescription
firstIntNoResults to return (default: 20)
afterStringNoCursor for pagination
filterDppFilterNoFilter by status