Compliance & DPP

The Compliance API provides access to Digital Product Passport (DPP) data required under EU regulations, including sustainability metrics and lifecycle information.


GET/compliance/dpp/{ean}

Get DPP for a product

Returns the Digital Product Passport data for a product.

Path parameters

  • Name
    ean
    Type
    string
    Description

    The product EAN.

Request

GET
/compliance/dpp/{ean}
curl https://api.productsmanager.app/api/v1/compliance/dpp/3760000000001 \
  -H "Authorization: Bearer {api_key}"

Response

{
  "ean": "3760000000001",
  "dpp_id": "dpp_01HQ...",
  "product_name": "Produit exemple",
  "manufacturer": "Ma Marque",
  "country_of_origin": "FR",
  "materials": [
    {"name": "Acier inoxydable", "percentage": 80},
    {"name": "Plastique recyclé", "percentage": 20}
  ],
  "carbon_footprint_kg": 2.5,
  "recyclability_score": "A",
  "certifications": ["CE", "RoHS"],
  "end_of_life_instructions": "Recyclable via collecte sélective.",
  "updated_at": "2024-03-01T00:00:00Z"
}

PATCH/compliance/dpp/{ean}

Update DPP data

Updates the Digital Product Passport data for a product.

Path parameters

  • Name
    ean
    Type
    string
    Description

    The product EAN.

Body parameters

  • Name
    materials
    Type
    array
    Description

    List of materials with name and percentage.

  • Name
    carbon_footprint_kg
    Type
    number
    Description

    Carbon footprint in kg CO₂ equivalent.

  • Name
    certifications
    Type
    array
    Description

    List of certification codes (e.g. CE, RoHS).

  • Name
    end_of_life_instructions
    Type
    string
    Description

    Recycling and disposal instructions.

Request

PATCH
/compliance/dpp/{ean}
curl -X PATCH https://api.productsmanager.app/api/v1/compliance/dpp/3760000000001 \
  -H "Authorization: Bearer {api_key}" \
  -H "Content-Type: application/json" \
  -d '{
    "carbon_footprint_kg": 2.1,
    "certifications": ["CE", "RoHS", "Energy Star"]
  }'

Response

{
  "ean": "3760000000001",
  "carbon_footprint_kg": 2.1,
  "certifications": ["CE", "RoHS", "Energy Star"],
  "updated_at": "2024-03-15T10:00:00Z"
}

Was this page helpful?