Skip to main content
DELETE
Delete Voucher

Autorizzazioni

Authorization
string
header
obbligatorio

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Parametri del percorso

id
string<uuid>
obbligatorio

Risposta

Successful Response

data
VoucherDeleteOut · object | null

What DELETE did: a voucher never spent is deleted (its code is free again); one with redemptions is deactivated, its history kept.

meta
PaginationMeta · object | null
error
string | null
error_code
string | null