---
title: "Changes to Replace template document"
method: POST
path: "/templates/{id}/replace-document"
---

# Changes to Replace template document

`POST /templates/{id}/replace-document`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 3 of 13 revisions.

- **2026-10-17** `a6525941bc28`: 2 breaking, 4 warning, 1 info
- **2026-10-17** `3a2cdde3a64f`: 2 info
- **2026-10-10** `bfc2b19c9c7e`: 4 info

## Changes

- **2026-10-17** `a6525941bc28`: 2 breaking, 4 warning, 1 info
  - the response's body type changed from `object` to no type for status `400`
  - removed the required property `error` from the response with the `400` status
  - removed the optional property `code` from the response with the `400` status
  - removed the optional property `details` from the response with the `400` status
  - removed the optional property `errors` from the response with the `400` status
  - removed the optional property `message` from the response with the `400` status
  - added `#/components/schemas/Error, #/components/schemas/MalformedPdfError` to the response body `anyOf` list for the response status `400`
- **2026-10-17** `3a2cdde3a64f`: 2 info
  - added the optional property `settings/allow_decline` to the response with the `200` status
  - added the optional property `settings/show_save_for_later` to the response with the `200` status
- **2026-10-10** `bfc2b19c9c7e`: 4 info
  - added the non-success response with the status `409`
  - added the optional property `documents` to the response with the `200` status
  - added the optional property `documents_layout_version` to the response with the `200` status
  - added the optional property `documents_version` to the response with the `200` status

---

[Operation](https://skmtc.dev/firma/apis/firma-partner-api/docs/templates/:id/replace-document/post.md) - [API](https://skmtc.dev/firma/apis/firma-partner-api.md) - [Page](https://skmtc.dev/firma/apis/firma-partner-api/changes/templates/:id/replace-document/post)
