Puts the coupon on top of the organization's coupon stack, making it the active discount on the organization's Stripe customer while earlier coupons stay beneath it, and returns the stack. Returns 404 when the organization has no Stripe customer or the coupon is unknown, and 400 when the coupon is expired, deleted or already on the stack. Super admin only.
POST
/admin/orgs/{orgId}/coupon
curl \
--request POST 'http://api.example.com/admin/orgs/{orgId}/coupon' \
--header "Authorization: Bearer $ACCESS_TOKEN" \
--header "Content-Type: application/json" \
--data '{
"couponId": "string"
}'
Request examples
{
"couponId": "string"
}
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"
}