Update a voucher

Updates an existing voucher by ID.

Path Params
integer
required

The unique identifier of the voucher.

Body Params
string

The voucher code.

discount
object
string

The date and time the voucher becomes valid.

string

The date and time the voucher expires.

target
object
boolean

Indicates whether the voucher is active.

boolean

Indicates if the discount amount is dynamic.

boolean

Indicates if the voucher is automatically applied.

integer

Number of times the voucher has been used.

string

Comments or notes for the voucher.

Response

Language
Credentials
Basic
base64
:
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json