Skip to main content
POST
Bulk create promo codes

Authorizations

X-API-Key
string
header
required

Preferred authentication method. Pass the API key in the X-API-Key HTTP request header. The user account must have api_status enabled.

Body

application/json
promo_codes
object[]
required

Promo codes to create in the order they should be processed.

Required array length: 1 - 1000 elements

Response

Bulk create result with aggregate counters and per-record statuses.

status
string
Example:

"success"

code
integer
Example:

200

name
string
Example:

"OK"

message
string
Example:

"Bulk create completed"

info
object