Light Mode
Delete Coupon
DELETE
/coupons/{coupon_id}Last modified: a month ago
This endpoint allows you to delete a coupon by passing the coupon_id
as a path parameter.
Request
Path Params
coupon_id
integer
required
Coupon ID. List Coupon ID can be found here.
Request samples
Responses
Deleted Successfully(200)
Not Found(404)
Deleted Successfully
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
No schema defined
Example
{
"status": 202,
"success": true,
"data": {
"message": "The coupon has been removed successfully",
"code": 202
}
}
Last modified: a month ago