Skip to main content
PATCH
Update voucher set toggle and settings

Authorizations

Authorization
string
header
required

Your API key in Authorization: Bearer <key>. Use vk_test_… keys against the sandbox and vk_live_… keys against production.

Path Parameters

voucherSetId
integer<uint64>
required

Id of the voucher set. Unsigned 64-bit integer (ids and large counters). 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 your voucher set setting; setting is merged recursively.

setting
object

Fields to change.

Response

OK

Single-object envelope around a ConsumerCatalogEntry.

data
object
required

A voucher set visible to you (approved live revision, scheduled or active, AllRide grants you access), with your setting.