Skip to main content
PATCH
Update a voucher set

Authorizations

Authorization
string
header
required

Partner API key: Authorization: Bearer vk_live_…. Use vk_test_… keys against the sandbox. See Authentication.

Path Parameters

voucherSetId
integer<uint64>
required

Numeric id (voucherSetId). A non-numeric id is a 400 data-failed-validation; an unknown id or one of another partner is a 404. Unsigned 64-bit integer. May exceed 2^53; parse with a BigInt-safe JSON parser in JavaScript.

Required range: 0 <= x <= 18446744073709552000

Body

application/json

JSON Merge Patch of the voucher set.

internalName
string

1-120 characters.

Required string length: 1 - 120
voucherKind
enum<string>

Only in draft and before the first voucher. Treat as an open set: new values may be added.

Available options:
code,
link
draftContent
object | null

Merge patch of the draft; null clears it. Not allowed while a change request is open.

Response

Success.

Single-object envelope around VoucherSet.

data
object
required

A voucher set (provider view).