Delete a coupon

🚧 Beta: This endpoint may not be available yet and may change without notice.
Contact support to request access.

Archive a multiple-use coupon by unpublishing it (is_published becomes false). This endpoint only manages multiple-use coupons. Returns 204 if the coupon is already archived or does not exist (idempotent).

On schools using the new payments experience, archiving a coupon that has not been linked to the payments experience returns 422 "This coupon cannot be archived." This happens for coupons created before the school migrated to the new payments experience and not yet backfilled.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
integer
required
Headers
string
required

Generated Admin API key

Responses
204

Coupon archived (no content)

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json