Skip to main content
POST
Add license keys

Authorizations

x-api-key
string
header
required

Your Store API key (pk_live_...). Create it in Developers › API keys.

x-store-hash
string
header
required

The ID of the store the request is for. Shown in Developers › API keys.

Headers

Idempotency-Key
string

Unique key (for example a UUID) that makes retries safe. The first response is stored for 24 hours and replayed for retries with the same key and body.

Maximum string length: 255

Path Parameters

id
string
required

Product hash ID (numeric ID also accepted).

Example:

"AbC123xyz789"

Body

application/json
serials
string[]
Maximum array length: 1000
input
string

Alternative: keys in one string, split by delimiter.

delimiter
string
default:\n
dedupe
boolean
default:false
variant_id
integer

Response

Added

success
boolean
required
Example:

true

inserted
integer
Example:

100

unassigned
integer
Example:

140

variant_id
integer | null