Removes the named coupon wherever it sits in the organization's stack, then makes the top eligible coupon the active discount, and returns the stack. Returns 404 when the organization has no Stripe customer or the coupon is not on its stack. Super admin only.
DELETE
/admin/orgs/{orgId}/coupon/{couponId}
curl \
--request DELETE 'http://api.example.com/admin/orgs/{orgId}/coupon/{couponId}' \
--header "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
"data": {
"stack": [
{
"couponId": "SPRING20",
"pushedAt": "2026-01-15T10:15:00.000Z",
"name": "Spring 20% off",
"percentOff": 20,
"amountOffCents": 42.0,
"duration": "repeating",
"status": "active",
"eligible": true,
"active": true
}
],
"activeCouponId": "SPRING20"
},
"statusCode": 200,
"timestamp": "2026-01-15T10:15:00.000Z"
}