POST
/api/v2/vouchers/assignments/massPOST /api/v2/vouchers/assignments/mass
Authentication
Send your API key in the x-api-key header on every request.
Parameters
| Field | Type | Required | Description |
|---|---|---|---|
| Idempotency-Key (header) | string | No |
Request body
application/json
| Field | Type | Required | Description |
|---|---|---|---|
| VoucherId | string (uuid) | Yes | |
| UserIds | array of unknown | No | |
| UserIdentifiers | array of string | No | |
| TierIds | array of unknown | No | |
| CardTypes | array of string | No | |
| TransactionTypes | array of string | No | |
| TransactionFrom | string (date-time) | No | |
| TransactionTo | string (date-time) | No | |
| MinimumCompletedTransactionVolume | unknown | No | |
| TransactionCurrency | string | No |
Responses
200 — OK
| Field | Type | Required | Description |
|---|---|---|---|
| Id | string (uuid) | Yes | |
| Kind | string | Yes | |
| Status | string | Yes | |
| TotalItems | unknown | Yes | |
| SuccessfulItems | unknown | Yes | |
| FailedItems | unknown | Yes | |
| CreatedAt | string (date-time) | Yes | |
| CompletedAt | string (date-time) | Yes |
Example request
curl -X POST "https://{base_url}/api/v2/vouchers/assignments/mass" \
-H "x-api-key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"VoucherId":"…"}'This page is generated from the live OpenAPI specification and always matches the current API.