Api referenceCoursesCoupons
Create a coupon
Create a coupon
Create a coupon
AuthorizationBearer <token>
In: header
Path Parameters
id*string
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X POST "https://example.com/v2/courses/string/coupons" \ -H "Content-Type: application/json" \ -d '{ "name": "string", "type": "amount-off", "active": true, "showInMarket": true, "amount": 0, "expireAt": "2019-08-24T14:15:22Z" }'{}