---
title: "Update voucher status"
method: PUT
path: "/vouchers/{id}/status"
tags: ["Vouchers"]
---

# Update voucher status

`PUT /vouchers/{id}/status`

## Request

- Base URL: `https://da.liteapi.travel`
- URL: `https://da.liteapi.travel/vouchers/{id}/status`
- Auth: API key in header `X-Api-Key`

## Overview

Quickly activate or deactivate a voucher without updating other fields. Perfect for temporarily disabling vouchers.

## When to Use

- **Temporary disable** - Deactivate vouchers without deleting them
- **Reactivate vouchers** - Turn inactive vouchers back on
- **Status management** - Quickly toggle voucher availability

## What You Get

- **Confirmation** - Success message confirming status change
- **Updated status** - Voucher status changed to active or inactive

## Quick Start

Provide the voucher ID and the new `status` ("active" or "inactive"). Returns confirmation of the status update.

## Path parameters

- `id` integer, required

## Request body

- object
  - `status` 'active' | 'inactive', required: New status of the voucher

## Response `200`

Voucher status updated successfully

---

[API](https://skmtc.dev/liteapi/apis/api-vouchers.md) - [All operations](https://skmtc.dev/liteapi/apis/api-vouchers/llms.txt) - [OpenAPI document](https://skmtc.dev/liteapi/apis/api-vouchers/revisions/531116f98f62?raw)
