Skip to main content
PUT
Update a voucher

Path Parameters

id
string
required

Voucher Id

Body

application/json

Voucher update data

groupId
integer
Example:

5

maxUsers
integer | null
Example:

5

expiresAt
string<timestamp> | null

Updated date

Example:

"2021-04-20T14:38:20.000Z"

Response

Voucher list

id
integer
required

id

Example:

1

groupId
integer
required
Example:

5

code
string
required
Example:

"code123"

maxUsers
integer | null
required
Example:

5

expiresAt
string<timestamp> | null
required

Updated date

Example:

"2021-04-20T14:38:20.000Z"

createdAt
string | null

pricing currency

Example:

"DKK"

updatedAt
string<timestamp>

Updated date

Example:

"2021-04-20T14:38:20.000Z"

location
object[]
voucherGroup
object