delete
https://{url}/core/v1/partner/coupons/
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
Requires the Store plan feature and store coupons enabled for the partner (403 otherwise).
Deletes the coupon and every redemption of it, so no organization gets it any more.
A coupon used in orders cannot be deleted: the orders keep pointing at it. Stop it instead with Update Coupon and "active": false.
Success
204 No Content.
Errors
- 403 —
Deactivate the coupon instead; it was used in orders. - 404 — the coupon is not the partner's, or it was already deleted.
204No Content
