Skip to main content
POST

Authorizations

Authorization
string
header
required

Enter your API key as: Bearer your-api-key

Body

application/json
code
string
required
Minimum string length: 1
promotionId
string
required
customerId
string
usageLimit
integer
Required range: x > 0
expiresAt
string
firstTimeCustomersOnly
boolean
default:false
emailPattern
string
description
string
metadata
string

Response

Successful response