Skip to main content
GET
Get inventory flow over time

Authorizations

Authorization
string
header
required

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

Query Parameters

from
string<date>
required

First day (inclusive), in timezone.

to
string<date>
required

Last day (exclusive).

granularity
enum<string>

Bucket size; at most 366 days, 260 weeks or 120 months.

Available options:
day,
week,
month
voucherSetId
string

Comma list of up to 50 of your voucher set ids.

timezone
string

IANA zone with whole-hour offsets; defaults to your partner's timezone.

Response

Success.

Single-object envelope around ProviderInventoryStats.

data
object
required

Vouchers added, revoked and redeemed over time.