Admin — import uploaded voucher codes

ADMIN

Starts an asynchronous batch that loads the codes from a previous upload.
Returns immediately with the batch; poll
GET /admin/vouchers/batches/{batch_id} for progress.

Codes already present in the campaign are skipped rather than overwritten,
so re-running an import that failed part-way is safe and leaves existing
redemption counts untouched. Rejected rows are listed at error_url.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params

Loads previously uploaded voucher codes. Codes are uppercased and trimmed; any containing whitespace or control characters are rejected. Codes that already exist are skipped rather than overwritten, so a partially completed import can be safely repeated.

uuid
required
uuid
required
integer
≥ 1
Defaults to 1
date-time
date-time
string
string

Groups the batch. Must not already exist in the campaign. Defaults to a timestamped value when omitted.

Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

Language
Credentials
OAuth2
Missing 1 required scope
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json
application/problem+json