v1

latestOpenAPI 3.0.02026-07-247251950.2 KB
Vouchers

Update voucher status

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.

put/vouchers/{id}/status

Path parameters

idinteger required

Unique identifier of the voucher for which the status is being updated

Request body

status'active' | 'inactive' required

New status of the voucher

Response

Voucher status updated successfully