Disabling vs deleting a discount code

Two ways to take a discount out of circulation:

Disable — toggles the Enabled flag off. The code stops accepting at checkout immediately, but the row stays on your Discounts page and the redemption ledger is preserved. Re-enable any time by toggling the flag back on. Use this for seasonal codes you'll bring back, or to pause a code temporarily while you investigate suspicious redemption.

Delete — permanently removes the code and all its redemption history. The code can never be redeemed again, even if a customer typed it before the deletion. Use this only for codes that were created in error or are no longer needed for reporting.

Recommendation: disable first, delete only after you're sure you don't need the redemption history. The ledger is useful for accounting reconciliation and customer-support questions ("did this discount apply?").