DocX icon

DocX

Generez des documents Word/PDF et des factures Factur-X depuis des modeles, et gerez vos modeles (LayerOne DocX)

Template → Update

AI-generated

Summary

Replaces an existing LayerOne DocX template with a supplied .docx file. The previous template version is archived automatically.

Inputs

  • Template ID (required) — ID of the template to update.
  • Input Binary Field (required) — Name of the incoming item’s binary property containing the .docx file; defaults to data.
  • Request Options — Optional request settings, including batching, SSL certificate handling, proxy, and timeout.

Output shape

A single response item from the template update request.

The .docx file is sent as multipart form data under the template field, using the input file’s name when available or template.docx otherwise. The operation does not configure a binary output; the response shape is determined by the API.

Links

Discussion