Skip to main content
POST
Create a coupon

Body

application/json
environment_id
string
required
Minimum string length: 1
code
string
required
Minimum string length: 1
type
enum<string>
required
Available options:
percent,
fixed
amount
number
required
Required range: x >= 0
metadata
object

Response

Coupon created

The response is of type unknown.