latestOpenAPI 3.1.12026-08-108026304.2 KB

7b222e8ec91c

Vouchers

Delete a voucher

Delete voucher and its associated voucher codes. This action is irreversible. The voucher and its voucher codes will be permanently removed.

delete/v1/vouchers/{voucher_id}

Path parameters

voucher_idstring required

The unique identifier for the existing voucher

Response

Successfully deleted the given voucher and its voucher codes

idstring

ID of the deleted voucher

objectstring
deletedstring

Delete operation successful

Example response

{
  "id": "vo_123",
  "object": "voucher"
}