← Blog/Customers

How to Find Customers Who Used a Specific Discount Code in Shopify

The people who used a code are a ready-made segment — especially the ones who never came back. Here's how to find them in one message.

July 17, 2026·3 min read

A discount code isn't just a promotion — it's a segment. The customers who used your WELCOME10 or a campaign code share something in common, and what they did next is hugely useful: the ones who came back are your wins, and the ones who didn't are a perfect target for a follow-up. But Shopify won't hand you that list.

Why this segment is hard to extract

Shopify tracks code usage in aggregate, but pulling the actual customers who used a code — and crucially, whether they returned to buy again — isn't a built-in view. So a code that brought in hundreds of first-time buyers becomes a dead end instead of a retargeting opportunity.

Find the users and what they did next

With Claude MCP Connector, you get the segment and its behavior:

Claude
Who used the WELCOME10 code? I want to see if they came back and ordered again.
C
410 customers used WELCOME10:
Used the code410first orders
Came back to buy again14335% repeat rate
Still one-and-done267
Opportunity: 267 welcome-code customers never returned — a perfect audience for a second-order nudge.
Email the 267 a comeback offer →

Claude shows everyone who used the code and how many came back for a second order — instantly revealing the one-and-done customers who are the ideal audience for a comeback offer.

More ways to use code segments

List everyone who used a given code
See how many came back to buy again
Re-target one-time code users
Tag and export the segment

Why follow-up is where the value is

A welcome code that gets a customer's first order has done half its job; converting them to a second order is the other half. Being able to isolate the people who used a code but never returned turns a one-off promotion into the start of a retention campaign — and that follow-up is where the real revenue is.

Try it free

Do this in 30 seconds with Claude.

Launching soon on the Shopify App Store. Join the early list to be first in.

Get early access →

Related articles

← Previous

How to Mark Multiple Orders as Fulfilled Without Shopify Shipping

Next →

How to Find Duplicate Products in Your Shopify Store