v1

latestOpenAPI 3.0.02026-07-2475182625.5 KB
Coupons

Delete a coupon

Permanently deletes a coupon by its path identifier.

Warning: A coupon cannot be deleted while it has active codes. Remove all codes first using DELETE /coupons/{coupon_id}/codes, then delete the coupon.

delete/coupons/{coupon_id}

Path parameters

coupon_idstring required

The unique path identifier for the coupon.

Response

Coupon successfully deleted.

couponstring

Path identifier of the deleted coupon.

actionstring

The operation performed. Returned as the literal string delete coupon (with a space), not coupon.delete.

result'success'

Indicates the operation succeeded.

Example response

{
  "coupon": "summer-sale-2026",
  "action": "delete coupon",
  "result": "success"
}