---
updatedAt: 2025-11-12T22:19:06.000Z
agentTools:
  projectIndex: https://docs.nmp.arianee.com/llms.txt
---

# Update Arianee Event Template

This endpoint allows you to

- URL: `PUT - {{url}}/arianeeEventTemplate/:id`
    
- Parameters:
    
    - `id` - ID of the event template.
        
    - `metadata` - Contains additional information about the event template.
        
    - `name` - The display name of the event template. Example: "Repair Event".
        
    - `icon` - A URL pointing to an icon that visually represents the event template.
        
    - `content` - Contains the core event information respecting the Event Schema.
        
- Success: The event template has been updated.
    

[For more information, read our detailed API documentation.](https://docs.nmp.arianee.com/docs/update-event-template)

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "title": "🪢 Pairing App",
    "contact": {},
    "version": "1.0"
  },
  "servers": [
    {
      "url": "https://{url}",
      "variables": {
        "url": {
          "default": "nmp_endpoint"
        }
      }
    }
  ],
  "paths": {
    "/arianeeEventTemplate/{id}": {
      "put": {
        "tags": [
          "Arianee Event Template"
        ],
        "summary": "Update Arianee Event Template",
        "description": "This endpoint allows you to\n\n- URL: `PUT - {{url}}/arianeeEventTemplate/:id`\n    \n- Parameters:\n    \n    - `id` - ID of the event template.\n        \n    - `metadata` - Contains additional information about the event template.\n        \n    - `name` - The display name of the event template. Example: \"Repair Event\".\n        \n    - `icon` - A URL pointing to an icon that visually represents the event template.\n        \n    - `content` - Contains the core event information respecting the Event Schema.\n        \n- Success: The event template has been updated.\n    \n\n[For more information, read our detailed API documentation.](https://docs.nmp.arianee.com/docs/update-event-template)",
        "operationId": "UpdateArianeeEventTemplate",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "ID of the Arianee Event",
            "required": true,
            "style": "simple",
            "schema": {
              "type": "string",
              "example": "67a08e452ef96f911a194989"
            }
          }
        ],
        "requestBody": {
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/UpdateArianeeEventTemplateRequest"
                  },
                  {
                    "example": {
                      "deleted": false,
                      "metadata": {
                        "name": "Activation de la garantie",
                        "icon": "https://img.freepik.com/vecteurs-premium/vecteur-conception-modele-logo-service_20029-568.jpg"
                      },
                      "content": "{\"eventType\":\"warranty\",\"language\":\"fr-FR\",\"title\":\"Activation de la garantie\",\"description\":\"La garantie de votre produit a été activée ou mise à jour avec succès. Pour une durée de %duree%.\",\"i18n\":[],\"$schema\":\"https://cert.arianee.org/version3/ArianeeEvent-i18n.json\"}",
                      "attributes": [
                        {
                          "field": "%duree%",
                          "label": "Durée",
                          "freeEntry": true,
                          "required": true,
                          "type": "select",
                          "options": [
                            {
                              "label": "1 an",
                              "value": "1 an"
                            },
                            {
                              "label": "2 ans",
                              "value": "2 ans"
                            },
                            {
                              "label": "4 ans",
                              "value": "4 ans"
                            }
                          ]
                        }
                      ]
                    }
                  }
                ]
              },
              "example": {
                "deleted": false,
                "metadata": {
                  "name": "Activation de la garantie",
                  "icon": "https://img.freepik.com/vecteurs-premium/vecteur-conception-modele-logo-service_20029-568.jpg"
                },
                "content": "{\"eventType\":\"warranty\",\"language\":\"fr-FR\",\"title\":\"Activation de la garantie\",\"description\":\"La garantie de votre produit a été activée ou mise à jour avec succès. Pour une durée de %duree%.\",\"i18n\":[],\"$schema\":\"https://cert.arianee.org/version3/ArianeeEvent-i18n.json\"}",
                "attributes": [
                  {
                    "field": "%duree%",
                    "label": "Durée",
                    "freeEntry": true,
                    "required": true,
                    "type": "select",
                    "options": [
                      {
                        "label": "1 an",
                        "value": "1 an"
                      },
                      {
                        "label": "2 ans",
                        "value": "2 ans"
                      },
                      {
                        "label": "4 ans",
                        "value": "4 ans"
                      }
                    ]
                  }
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Date": {
                "content": {
                  "text/plain": {
                    "schema": {
                      "type": "string"
                    },
                    "example": "Mon, 03 Feb 2025 09:37:25 GMT"
                  }
                }
              },
              "Transfer-Encoding": {
                "content": {
                  "text/plain": {
                    "schema": {
                      "type": "string"
                    },
                    "example": "chunked"
                  }
                }
              },
              "Connection": {
                "content": {
                  "text/plain": {
                    "schema": {
                      "type": "string"
                    },
                    "example": "keep-alive"
                  }
                }
              },
              "x-powered-by": {
                "content": {
                  "text/plain": {
                    "schema": {
                      "type": "string"
                    },
                    "example": "Express"
                  }
                }
              },
              "access-control-allow-origin": {
                "content": {
                  "text/plain": {
                    "schema": {
                      "type": "string"
                    },
                    "example": "*"
                  }
                }
              },
              "etag": {
                "content": {
                  "text/plain": {
                    "schema": {
                      "type": "string"
                    },
                    "example": "W/\"2ff-3J3ku0Me62T5eFsrqtcdrIbHxf4\""
                  }
                }
              },
              "vary": {
                "content": {
                  "text/plain": {
                    "schema": {
                      "type": "string"
                    },
                    "example": "Accept-Encoding"
                  }
                }
              },
              "strict-transport-security": {
                "content": {
                  "text/plain": {
                    "schema": {
                      "type": "string"
                    },
                    "example": "max-age=31536000; includeSubDomains"
                  }
                }
              },
              "CF-Cache-Status": {
                "content": {
                  "text/plain": {
                    "schema": {
                      "type": "string"
                    },
                    "example": "DYNAMIC"
                  }
                }
              },
              "Server": {
                "content": {
                  "text/plain": {
                    "schema": {
                      "type": "string"
                    },
                    "example": "cloudflare"
                  }
                }
              },
              "CF-RAY": {
                "content": {
                  "text/plain": {
                    "schema": {
                      "type": "string"
                    },
                    "example": "90c17134fad7d6e4-IAD"
                  }
                }
              },
              "Content-Encoding": {
                "content": {
                  "text/plain": {
                    "schema": {
                      "type": "string"
                    },
                    "example": "gzip"
                  }
                }
              }
            },
            "content": {
              "application/json; charset=utf-8": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Success4"
                    },
                    {
                      "example": {
                        "_id": "67a08e452ef96f911a194989",
                        "deleted": false,
                        "metadata": {
                          "name": "Activation de la garantie",
                          "icon": "https://img.freepik.com/vecteurs-premium/vecteur-conception-modele-logo-service_20029-568.jpg"
                        },
                        "content": "{\"eventType\":\"warranty\",\"language\":\"fr-FR\",\"title\":\"Activation de la garantie\",\"description\":\"La garantie de votre produit a été activée ou mise à jour avec succès. Pour une durée de %duree%.\",\"i18n\":[],\"$schema\":\"https://cert.arianee.org/version3/ArianeeEvent-i18n.json\"}",
                        "attributes": [
                          {
                            "field": "%duree%",
                            "label": "Durée",
                            "freeEntry": true,
                            "required": true,
                            "type": "select",
                            "options": [
                              {
                                "label": "1 an",
                                "value": "1 an"
                              },
                              {
                                "label": "2 ans",
                                "value": "2 ans"
                              },
                              {
                                "label": "4 ans",
                                "value": "4 ans"
                              }
                            ]
                          }
                        ],
                        "__v": 0,
                        "id": "67a08e452ef96f911a194989"
                      }
                    }
                  ]
                },
                "example": {
                  "_id": "67a08e452ef96f911a194989",
                  "deleted": false,
                  "metadata": {
                    "name": "Activation de la garantie",
                    "icon": "https://img.freepik.com/vecteurs-premium/vecteur-conception-modele-logo-service_20029-568.jpg"
                  },
                  "content": "{\"eventType\":\"warranty\",\"language\":\"fr-FR\",\"title\":\"Activation de la garantie\",\"description\":\"La garantie de votre produit a été activée ou mise à jour avec succès. Pour une durée de %duree%.\",\"i18n\":[],\"$schema\":\"https://cert.arianee.org/version3/ArianeeEvent-i18n.json\"}",
                  "attributes": [
                    {
                      "field": "%duree%",
                      "label": "Durée",
                      "freeEntry": true,
                      "required": true,
                      "type": "select",
                      "options": [
                        {
                          "label": "1 an",
                          "value": "1 an"
                        },
                        {
                          "label": "2 ans",
                          "value": "2 ans"
                        },
                        {
                          "label": "4 ans",
                          "value": "4 ans"
                        }
                      ]
                    }
                  ],
                  "__v": 0,
                  "id": "67a08e452ef96f911a194989"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "headers": {
              "Date": {
                "content": {
                  "text/plain": {
                    "schema": {
                      "type": "string"
                    },
                    "example": "Mon, 03 Feb 2025 09:39:13 GMT"
                  }
                }
              },
              "Content-Length": {
                "content": {
                  "text/plain": {
                    "schema": {
                      "type": "string"
                    },
                    "example": "301"
                  }
                }
              },
              "Connection": {
                "content": {
                  "text/plain": {
                    "schema": {
                      "type": "string"
                    },
                    "example": "keep-alive"
                  }
                }
              },
              "x-powered-by": {
                "content": {
                  "text/plain": {
                    "schema": {
                      "type": "string"
                    },
                    "example": "Express"
                  }
                }
              },
              "access-control-allow-origin": {
                "content": {
                  "text/plain": {
                    "schema": {
                      "type": "string"
                    },
                    "example": "*"
                  }
                }
              },
              "etag": {
                "content": {
                  "text/plain": {
                    "schema": {
                      "type": "string"
                    },
                    "example": "W/\"12d-1kzyGt1T8G5q+RQcqMtzNpXfYP0\""
                  }
                }
              },
              "vary": {
                "content": {
                  "text/plain": {
                    "schema": {
                      "type": "string"
                    },
                    "example": "Accept-Encoding"
                  }
                }
              },
              "strict-transport-security": {
                "content": {
                  "text/plain": {
                    "schema": {
                      "type": "string"
                    },
                    "example": "max-age=31536000; includeSubDomains"
                  }
                }
              },
              "CF-Cache-Status": {
                "content": {
                  "text/plain": {
                    "schema": {
                      "type": "string"
                    },
                    "example": "DYNAMIC"
                  }
                }
              },
              "Server": {
                "content": {
                  "text/plain": {
                    "schema": {
                      "type": "string"
                    },
                    "example": "cloudflare"
                  }
                }
              },
              "CF-RAY": {
                "content": {
                  "text/plain": {
                    "schema": {
                      "type": "string"
                    },
                    "example": "90c173da7a48c96c-IAD"
                  }
                }
              }
            },
            "content": {
              "application/json; charset=utf-8": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/ErrorWrongID3"
                    },
                    {
                      "example": {
                        "stringValue": "\"67a08e452ef96f911a19498\"",
                        "valueType": "string",
                        "kind": "ObjectId",
                        "value": "67a08e452ef96f911a19498",
                        "path": "_id",
                        "reason": {},
                        "name": "CastError",
                        "message": "Cast to ObjectId failed for value \"67a08e452ef96f911a19498\" (type string) at path \"_id\" for model \"ArianeeEventTemplate\""
                      }
                    }
                  ]
                },
                "example": {
                  "stringValue": "\"67a08e452ef96f911a19498\"",
                  "valueType": "string",
                  "kind": "ObjectId",
                  "value": "67a08e452ef96f911a19498",
                  "path": "_id",
                  "reason": {},
                  "name": "CastError",
                  "message": "Cast to ObjectId failed for value \"67a08e452ef96f911a19498\" (type string) at path \"_id\" for model \"ArianeeEventTemplate\""
                }
              }
            }
          }
        },
        "deprecated": false,
        "security": [
          {
            "apiKey": []
          }
        ]
      }
    }
  },
  "components": {
    "schemas": {
      "Metadata": {
        "title": "Metadata",
        "required": [
          "name",
          "icon"
        ],
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "icon": {
            "type": "string"
          }
        },
        "example": {
          "name": "ROYAL OAK GRANDE COMPLICATION SQUELETTE",
          "icon": "https://www.audemarspiguet.com/content/dam/ap/com/products/watches/MTR003700.00/importer/watch.png.transform.appdpmain.png"
        }
      },
      "Option1": {
        "title": "Option1",
        "required": [
          "label",
          "value"
        ],
        "type": "object",
        "properties": {
          "label": {
            "type": "string"
          },
          "value": {
            "type": "string"
          }
        },
        "example": {
          "label": "42mm",
          "value": "42mm"
        }
      },
      "UpdateArianeeEventTemplateRequest": {
        "title": "UpdateArianeeEventTemplateRequest",
        "type": "object",
        "properties": {
          "deleted": {
            "type": "boolean"
          },
          "metadata": {
            "$ref": "#/components/schemas/Metadata"
          },
          "content": {
            "type": "string"
          },
          "attributes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Attribute6"
            },
            "description": ""
          }
        },
        "example": {
          "deleted": false,
          "metadata": {
            "name": "Activation de la garantie",
            "icon": "https://img.freepik.com/vecteurs-premium/vecteur-conception-modele-logo-service_20029-568.jpg"
          },
          "content": "{\"eventType\":\"warranty\",\"language\":\"fr-FR\",\"title\":\"Activation de la garantie\",\"description\":\"La garantie de votre produit a été activée ou mise à jour avec succès. Pour une durée de %duree%.\",\"i18n\":[],\"$schema\":\"https://cert.arianee.org/version3/ArianeeEvent-i18n.json\"}",
          "attributes": [
            {
              "field": "%duree%",
              "label": "Durée",
              "freeEntry": true,
              "required": true,
              "type": "select",
              "options": [
                {
                  "label": "1 an",
                  "value": "1 an"
                },
                {
                  "label": "2 ans",
                  "value": "2 ans"
                },
                {
                  "label": "4 ans",
                  "value": "4 ans"
                }
              ]
            }
          ]
        }
      },
      "Attribute6": {
        "title": "Attribute6",
        "required": [
          "field",
          "label",
          "freeEntry",
          "required",
          "type",
          "options"
        ],
        "type": "object",
        "properties": {
          "field": {
            "type": "string"
          },
          "label": {
            "type": "string"
          },
          "freeEntry": {
            "type": "boolean"
          },
          "required": {
            "type": "boolean"
          },
          "type": {
            "type": "string"
          },
          "options": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Option1"
            },
            "description": ""
          }
        },
        "example": {
          "field": "%duree%",
          "label": "Durée",
          "freeEntry": true,
          "required": true,
          "type": "select",
          "options": [
            {
              "label": "1 an",
              "value": "1 an"
            },
            {
              "label": "2 ans",
              "value": "2 ans"
            },
            {
              "label": "4 ans",
              "value": "4 ans"
            }
          ]
        }
      },
      "Success4": {
        "title": "Success4",
        "required": [
          "_id",
          "deleted",
          "metadata",
          "content",
          "attributes",
          "__v",
          "id"
        ],
        "type": "object",
        "properties": {
          "_id": {
            "type": "string"
          },
          "deleted": {
            "type": "boolean"
          },
          "metadata": {
            "$ref": "#/components/schemas/Metadata"
          },
          "content": {
            "type": "string"
          },
          "attributes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Attribute6"
            },
            "description": ""
          },
          "__v": {
            "type": "integer",
            "format": "int32"
          },
          "id": {
            "type": "string"
          }
        },
        "example": {
          "_id": "67a08e452ef96f911a194989",
          "deleted": false,
          "metadata": {
            "name": "Activation de la garantie",
            "icon": "https://img.freepik.com/vecteurs-premium/vecteur-conception-modele-logo-service_20029-568.jpg"
          },
          "content": "{\"eventType\":\"warranty\",\"language\":\"fr-FR\",\"title\":\"Activation de la garantie\",\"description\":\"La garantie de votre produit a été activée ou mise à jour avec succès. Pour une durée de %duree%.\",\"i18n\":[],\"$schema\":\"https://cert.arianee.org/version3/ArianeeEvent-i18n.json\"}",
          "attributes": [
            {
              "field": "%duree%",
              "label": "Durée",
              "freeEntry": true,
              "required": true,
              "type": "select",
              "options": [
                {
                  "label": "1 an",
                  "value": "1 an"
                },
                {
                  "label": "2 ans",
                  "value": "2 ans"
                },
                {
                  "label": "4 ans",
                  "value": "4 ans"
                }
              ]
            }
          ],
          "__v": 0,
          "id": "67a08e452ef96f911a194989"
        }
      },
      "ErrorWrongID3": {
        "title": "ErrorWrongID3",
        "required": [
          "stringValue",
          "valueType",
          "kind",
          "value",
          "path",
          "reason",
          "name",
          "message"
        ],
        "type": "object",
        "properties": {
          "stringValue": {
            "type": "string"
          },
          "valueType": {
            "type": "string"
          },
          "kind": {
            "type": "string"
          },
          "value": {
            "type": "string"
          },
          "path": {
            "type": "string"
          },
          "reason": {
            "type": "object"
          },
          "name": {
            "type": "string"
          },
          "message": {
            "type": "string"
          }
        },
        "example": {
          "stringValue": "\"67a08e452ef96f911a19498\"",
          "valueType": "string",
          "kind": "ObjectId",
          "value": "67a08e452ef96f911a19498",
          "path": "_id",
          "reason": {},
          "name": "CastError",
          "message": "Cast to ObjectId failed for value \"67a08e452ef96f911a19498\" (type string) at path \"_id\" for model \"ArianeeEventTemplate\""
        }
      }
    },
    "securitySchemes": {
      "apiKey": {
        "type": "apiKey",
        "name": "x-api-key",
        "in": "header"
      }
    }
  },
  "security": [],
  "tags": [
    {
      "name": "Arianee Event Template"
    }
  ],
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true
  }
}
```