Skip to main content
Verslay
Shopify Discount Code Abuse Detection: Limits vs Reviews
ShopifyDiscountsAI Agents

Shopify Discount Code Abuse Detection: Limits vs Reviews

V
Verslay·November 29, 2026·9 min read

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

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:

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:

  1. Which codes are active with no end date? A code with no end date never closes itself.
  2. How many uses did each code get, and how much discount did it give away in total?
  3. 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.
  4. Which codes did you not create? Check apps, affiliates and any draft orders your team builds by hand.
  5. Which codes can combine, and did you mean them to?
  6. 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:

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.

Frequently asked questions

Does Shopify detect discount code abuse on its own?

No. Shopify gives you usage limits on each code and a Sales by discount report. It does not watch for a code being shared publicly or used by people you did not send it to, so that check is still yours.

How do I limit a discount code to one use per customer in Shopify?

Open the discount, go to Maximum discount uses, and check Limit to one per customer. Shopify tracks that limit against the customer email address or phone number used at checkout.

Why does a one-per-customer limit stop working after I recreate a code?

The limit belongs to that specific discount, not to the code name. Shopify says that if you delete a discount and create a duplicate with the same restriction, customers who used the old one can use the new one once more.

Can a customer get around a one-per-customer code?

Yes, by checking out with a different email address or phone number. The limit counts identities it can see, so a second address looks like a new customer to Shopify.

Ready to put agents to work?

132 AI agents. 82 pre-built use-cases. 1,500+ integrations. One dashboard — no code, no setup. Start free — no credit card required.