Promo Codes
Delete Promo Code
Changed onArchives a promo code so it cannot be used in future checkouts.
delete/promo_codes/{id}
Request
- Base URLhttps://api.whop.com/api/v1
- AuthHTTP bearer
Path parameters
id, string required
Promo code ID (promo_ tag).
Headers
Api-Version-Date, string
Example:2026-11-30
Pins the request to a dated API version.
Response
promo code deleted
object required
deleted, boolean required
id, string required
Example response
{
"deleted": true,
"id": "promo_xxxxxxxxxxxxxx"
}Changes
- breaking
the response's body type changed from
booleantoobjectfor status - warning
deleted the
pathrequest parameterid - info
api tag
Promo Codesadded
11 more changes in this revision
- breaking