No, Shopify does not detect discount code abuse for you. What it gives you is a set of limits on each code and a sales-by-discount report, and both only do their job if someone sets them and reads them. Spotting a code that is being used by the wrong people is still your job, or the job of whatever you point at your order data.
At a glance
- Shopify has no abuse-detection feature, only per-code limits and reports.
- Discount usage is unlimited by default, so a forgotten code stays open.
- One per customer is tracked by email address or phone number, and only for that one discount.
- Narrowing eligibility to a customer segment is the tightest control you get without an app.
- A recurring review catches what limits miss: codes shared further than you planned, and staff codes in the wrong hands.
What counts as discount code abuse on a Shopify store?
Most of it is not clever. A code gets shared wider than you meant, and the discount keeps applying because nothing in the store was set up to say no.
The usual shapes:
- A welcome code meant for new subscribers ends up on a coupon site, so strangers use it.
- A staff or friends-and-family code is passed around, and every use looks legitimate in the admin.
- A campaign code was never given an end date, so it still works a season later.
- Someone reuses a one-time code with a second email address.
- Codes stack, because the combination settings were left open.
- An app or affiliate creates codes you never reviewed, and nobody owns them.
None of these look like fraud on the order page. The order is paid, the customer is real, the discount is just smaller margin than you planned. That is why a payment fraud check will not catch it.
Which Shopify settings stop it on their own?
When you create a discount code, Shopify gives you the controls up front. From the discount code page, a code can carry valid dates, a maximum number of uses, a minimum order amount, a set of products or collections it applies to, and rules for combining it with other discounts. The amount off guide spells out the usage section: you can cap total uses across all customers, or limit the code to one use per customer, tracked by email address or phone number. Eligibility can be all customers, specific customers, customer segments or markets.
| Setting | What it blocks | What it misses | | :--- | :--- | :--- | | Total use cap | A code running forever or past your budget | Nothing about who used it | | One per customer | The same email or phone using it twice | A second email or phone | | End date | A campaign that should be over | A leak during the campaign | | Product or collection scope | Discounts on full-price lines you excluded | The customer you meant to pay full price | | Combining rules | Stacking you did not plan | A single code used at the wrong time | | Customer segment eligibility | Anyone outside the segment | Segment members reselling the code |
Two details matter more than the rest. Discount usage is unlimited by default, so a code stays open until you close it. And a one-per-customer limit ties to that discount only.
Why does one-per-customer not always work?
Because Shopify counts what it can see. The limit follows the customer's email address or phone number, so the same person with a second address is a new customer as far as the code is concerned. Aliases, second phone numbers and guest checkouts all pass.
There is a second trap. Shopify's own considerations say the one-per-customer limit applies only to that specific discount. Delete it and create a duplicate with the same restriction, and everyone who used the old one gets a fresh use. Owners do exactly that when they refresh a welcome offer each month, then wonder why repeat buyers keep getting the new-customer price.
If you want a code that a returning customer cannot use, put the code behind eligibility. Set the discount to a customer segment of people who have not ordered yet, share it inside the email to that segment, and keep it off the product page and out of ads. The code is then useless to anyone who is already a customer.
Built-in limits vs a recurring review: which fits?
These solve different problems. Limits prevent, a review detects. One runs by itself once you set it, the other only works on a schedule.
| | Shopify usage limits | Recurring discount review | | :--- | :--- | :--- | | When it acts | Before the order completes | After the orders land | | What it needs | A few minutes per code when you create it | A list of questions and access to order data | | Best for | Welcome codes, staff codes, campaign codes with a clear end | Stores with many codes, apps, affiliates or seasonal promos | | Blind spot | A code used by the wrong people inside its limit | Discounts already given away by the time you see them | | Effort | Front-loaded | Repeats every week or month |
Limits win when the code has one audience and one expiry date. A staff code with a total cap and an end date needs nothing else. A welcome code limited to a segment and one use per customer is about as tight as Shopify gets without apps.
A review wins when the code list has grown past what you can hold in your head. That happens fast once apps, affiliates and seasonal promos start creating codes. The review is also the only way to learn that a code is being used mostly by returning customers, which is the clearest signal of a leak.
Most stores need both. The review is the cheaper habit to build, since the data is already sitting in your admin.
What should a discount review actually look at?
Shopify's Sales by discount report groups sales by discount name and shows the code, the discount class, the method, the type and the amount. That is the raw material. Note the lag: Shopify says sales can take 12-72 hours to show up there, so do not judge a code from the last few hours.
Ask these questions:
- Which codes are active with no end date? A code with no end date never closes itself.
- How many uses did each code get, and how much discount did it give away in total?
- What share of the orders on each evergreen code came from first-time customers? A welcome code mostly used by repeat buyers is leaking margin on people who would have paid full price.
- Which codes did you not create? Check apps, affiliates and any draft orders your team builds by hand.
- Which codes can combine, and did you mean them to?
- How guessable are the names? WELCOME10, SAVE15 and VIP20 get tried by people who never received them.
Do this once a month and the pattern is obvious. Codes that look fine in the admin show up as a line in the report with more uses than the audience you sent it to.
How would an AI agent run that review?
The review is a fixed list of questions over data you already have: discounts, orders, customers, first order date. That makes it a good fit for an agent that reads your store and writes a short brief, instead of you pulling exports each month.
Verslay's Discount Leakage Desk is built for this check. The use case page describes it as stopping evergreen and leaked codes from quietly eroding margin, especially on customers who would have paid full price. It needs an email connection and an e-commerce connection, and it runs a small set of agents: ecommerce-scanner, data-analyst, pricing-analyst, executive-briefing-writer and distributor. You enable it from the Verslay dashboard and run it from claude.ai in plain language, with the Shopify Commerce Operator agent reading products, orders, customers and inventory.
A prompt that does the work:
Look at our active Shopify discounts and the orders that used them over the last quarter. For each code, tell me how many orders used it, the total discount given, and what share of those orders came from first-time customers. Flag codes with no end date, codes used mostly by returning customers, and codes with guessable names. Rank the three I should fix first and say what to change on each.
That output is a short list you can act on the same day. It is also a fair check on your own limits: if a code has a total cap that is nearly used up by the wrong audience, the fix is eligibility, not a bigger cap.
This is separate from payment fraud. If your worry is stolen cards and chargebacks, that is a different check, covered in Shopify fraud detection with AI. Discount leakage is about margin on real customers.
What do you do when you find a leaking code?
Retire the code and replace it with one that has a narrower audience. Recreating the same code name resets the one-per-customer count, so pair any recreation with segment eligibility or a new name that only goes out in the email.
Then tighten the rest:
- Put an end date on every code, including the evergreen ones.
- Move the welcome code into a segment and share it by email only.
- Keep one staff code, capped, and do not reuse the customer code.
- Write down which apps create codes and who on the team owns each one.
- Tell affiliates and influencers when a code expires, so their old posts stop sending people to a dead code.
- Set combining rules on purpose, not by default.
None of this stops a determined person from sharing a code. It keeps the leak small and tells you when it starts, which is a more realistic goal than closing it altogether. For how these checks sit next to the rest of your store operations, the automation overview covers where a review fits.
If you want a second pair of eyes on which codes are leaking and what to change first, book a short call: calendly.com/verslay/30mins.




