Coupons
Disable a coupon
Disable a coupon
post/api/v1/coupons/{id}/disable
Request
- Base URLhttps://api.copperx.dev
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
idstring required
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.