Delete Coupon
DELETE/payments/coupon
The "Delete Coupon" API allows you to permanently remove a coupon from your system using its unique identifier. Use this endpoint to discontinue promotional offers or clean up unused coupons. Note that this action cannot be undone.
Request
Version stringrequired
API Version
Available options
v3- application/json
- Body
- Example (auto)
Bodyrequired
altIdstringrequired
Location Id
altTypestringrequired
Alt Type
Available options
locationidstringrequired
Coupon Id
{
"altId": "BQdAwxa0ky1iK2sstLGJ",
"altType": "location",
"id": "6241712be68f7a98102ba272"
}
Successful response
- application/json
- Schema
- Example (auto)
Schema
successbooleanrequired
Indicates whether the delete was successful
traceIdstringrequired
Unique identifier for tracing this API request
{
"success": true,
"traceId": "c667b18d-8f5e-44cf-a914"
}