Coupons
Create a coupon
Creates a coupon
post/api/v1/coupons
Request
- Base URLhttps://api.copperx.dev
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"percentOff": 1,
"maxRedemptions": 1,
"promotionCodeData": {
"data": [
{
"maxRedemptions": 1
}
]
}
}Response
Example response
{
"percentOff": 1,
"maxRedemptions": 1,
"promotionCodes": [
{
"maxRedemptions": 1
}
],
"timesRedeemed": 1
}Changes
No recorded changes to this operation across all 2 revisions of this API.