---
title: "Enshrine"
method: PUT
path: "/Voucher/{voucherId}/enshrine"
tags: ["Voucher"]
---

# Enshrine

`PUT /Voucher/{voucherId}/enshrine`

## Request

- Base URL: `https://my.sevdesk.de/api/v1`
- URL: `https://my.sevdesk.de/api/v1/Voucher/{voucherId}/enshrine`
- Auth: API key in header `Authorization`

Sets the current date and time as a value for the property `enshrined`.<br>
This operation is only possible if the status is "Open" (`"status": "100"`) or higher.

Enshrined vouchers cannot be changed. This operation cannot be undone.

## Path parameters

- `voucherId` integer, required

## Response `200`

Successful operation

- object
  - `objects` unknown

## Other responses

- `400`: Bad request
- `401`: Authentication required
- `422`: Validation error
- `500`: Server Error

## Changes

- **2024-08-06** `a12897a73d08`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/sevdesk/apis/sevdesk-api/changes/Voucher/:voucherId/enshrine/put.md)

---

[API](https://skmtc.dev/sevdesk/apis/sevdesk-api.md) - [All operations](https://skmtc.dev/sevdesk/apis/sevdesk-api/llms.txt) - [OpenAPI document](https://skmtc.dev/sevdesk/apis/sevdesk-api/revisions/2f4931a876c0?raw)
