Dynamic Content
Turn a static DPP template into one driven by API data.
🧩 Goal
Transform a static DPP template (“NV Merch – Hoodie”) into a dynamic DPP that receives text content (like product descriptions or care instructions) directly from API data instead of being manually entered.
🔧 Step-by-Step Implementation
1. Duplicate the Template
- Start from the existing template:
NV Merch – Hoodie - Duplicate it and rename it:
NV Merch – Hoodie (dynamic)
This new version will have dynamic text fields.
2. Replace Static Text Fields with Dynamic Mappings
In the duplicated DPP template:
- Open the text widgets for:
Opening textText for black hoodies onlyInformation on care and use
Replace the static text with dynamic keys:
Then switch to translation mode and do the same for the German version:
✅ Publish the updated template once all widgets are dynamic.
3. Create the API Interface
Now that the template expects dynamic content, you’ll need to provide that data from the backend (Narravero API).
4. Send the JSON Payload
Here’s the full example request:
POST /v1/tridy/Narravero_Merch_Company_Hoodie_Dynamic
Host: https://api.narravero.com
Authorization: Bearer ;API_TOKEN;
Content-Type: application/json
{
"production_number": "42054531",
"size": "S",
"color": "Black",
"openingText": {
"en": "Stay cozy and showcase your style with the official Narravero Merch Hoodie. Crafted for comfort with a soft, durable fabric, it features a sleek design that represents the Narravero community. Perfect for everyday wear, gaming sessions, or lounging in style.",
"de": "Bleiben Sie gemütlich und zeigen Sie Ihren Stil mit dem offiziellen Narravero Merch Hoodie. Er wurde für Komfort aus einem weichen, strapazierfähigen Stoff gefertigt und verfügt über ein elegantes Design, das die Narravero-Community repräsentiert. Perfekt für den Alltag, Gaming-Sessions oder zum stilvollen Entspannen." },
"textForBlackHoodiesOnly": {
"en": "This is a fictitious certificate.
The Narravero Hoodie in black, crafted with eco-conscious, certified sustainable color chemicals. Designed for style, comfort, and environmental responsibility.",
"de": "Dies ist ein fiktives Umweltzertifikat.
Der schwarze Narravero Hoodie, hergestellt mit einer zertifiziert nachhaltigen Farbe. Entworfen für Stil, Komfort und Umweltverantwortung." },
"informationOnCareAndUse": {
"en": "The Narravero Hoodie impresses not only with its design and sustainability, but also with its durable quality—provided it is cared for properly. To preserve its shape, color, and high-quality print for a long time, the hoodie should be washed inside out at a maximum temperature of 30°C. It is best to use a mild, environmentally friendly detergent and avoid bleach or fabric softener. Air dry the hoodie rather than tumble drying it to protect the material and extend its life. If necessary, it can be ironed inside out at a low temperature, please avoid the print area. With the right care, the Narravero Hoodie will remain soft, retain its shape, and keep its color, a durable companion for every day.",
"de": "Der Narravero Hoodie überzeugt nicht nur durch sein Design und seine Nachhaltigkeit, sondern auch durch seine langlebige Qualität – vorausgesetzt, er wird richtig gepflegt. Um seine Form, Farbe und den hochwertigen Druck lange zu erhalten, sollte der Hoodie bei maximal 30 °C und auf links gedreht gewaschen werden. Verwenden Sie am besten ein mildes, umweltfreundliches Waschmittel und vermeiden Sie Bleichmittel oder Weichspüler. Trocknen Sie den Hoodie an der Luft statt im Wäschetrockner, um das Material zu schonen und seine Lebensdauer zu verlängern. Bei Bedarf kann er bei niedriger Temperatur auf links gebügelt werden, bitte vermeiden Sie den Druckbereich. Mit der richtigen Pflege bleibt der Narravero Hoodie weich, formstabil und farbecht, ein langlebiger Begleiter für jeden Tag."}
}
5. Expected API Response
If successful, the API will return something like:
[
{
"id": "gvmKMbqAPxLDRJo3pJN7f2",
"url": "https://nvero.app/02ZQqU/gvmKMbqAPxLDRJo3pJN7f2",
"ids": {}
}
]
That url is your dynamic DPP, now filled with live content pulled from your JSON payload.
✅ Result
- The DPP is now dynamic, multilingual, and content-driven.
- Any updates to text can be handled via the API, not manually in the template.
- This makes it much easier to maintain and scale across products and languages.