Shopify limits each store to a maximum of 20 million discount codes. When this limit is reached, new discount sets can’t be generated until unused codes are removed. Use the steps below to identify and delete expired discount codes from your Shopify Admin.
When you may run out of discount codes
You may reach Shopify’s discount code limit if a store frequently generates large discount sets or keeps expired codes on the Discounts page in Shopify. Once the limit is reached, discount creation is blocked until codes are deleted.
Note:
Deleting discount codes from the Bulk Discount Code Bot app only removes them from the app.
It does not remove them from your Shopify account.
How to delete expired discount codes in Shopify
Use these steps to permanently remove expired discount codes from your Shopify Admin.
Open the Discounts page
Select the Expired filter
Optional: Add additional filters, such as Expired discounts that were created more than 2 years ago.
Check or activate the box next to the Title column to select all discount sets on the current page
If the number of expired discounts exceeds 50, there will be an option labeled Select 50+; click that to select all expired discounts.
Click the More actions (...) button, then select Delete discounts
Note:
You can learn more about deleting Shopify discounts by clicking here
Using Discount risk audit (Grow plan only)
If the store is on the Grow plan for the Bulk Discount Code Bot app, use the Discount risk audit to identify discount sets that should be expired but are still active. This helps prevent reaching Shopify’s discount code limit in the future.
