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}

Request

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"
}

Changes

No recorded changes to this operation across all 6 revisions of this API.