Loyalty Points and Duplicate Customers: Consolidate Before You Merge
Shopify's help docs list orders, addresses, tags, notes, gift cards and discounts as merged data, but not loyalty points, which usually live in a loyalty app's own records or in metafields. Shopify sends a customers/merge webhook to subscribed apps, but each app decides what to do with it. Move points onto the profile you'll keep first, then merge, then check the total.
- Shopify's help page on merging customers lists orders, draft orders, addresses, notes, tags, timeline events, gift cards and discounts as merged data, and does not mention loyalty points or metafields.
- Shopify's store credit documentation names loyalty and referral programs as uses for store credit, and a customer with a store credit account can't be merged.
- Shopify's Admin API has a customers/merge webhook topic that fires when two customers are merged, so a loyalty app can react to a merge if it subscribes to it.
- Shopify's customer merge can't be reversed, so a points balance lost in a merge can't be recovered by undoing it.
- Merging before you issue loyalty rewards as store credit avoids creating store credit accounts that permanently block the merge.
Shopify loyalty points and duplicate customers are a bad mix because Shopify's customer merge doesn't list loyalty points among the data it combines. Points usually live in a loyalty app's own records, keyed to a Shopify customer, so a shopper with two profiles has two separate balances. When you merge them, whether the points come along depends on your loyalty app, not on Shopify. The safe order is to consolidate the points onto the profile you'll keep, then merge, then check the total.
This guide covers where loyalty data actually lives on Shopify, what a merge does and doesn't carry over, and a step-by-step routine for cleaning up duplicates without costing a loyal customer their rewards.
Where do loyalty points live on Shopify?
Mostly outside Shopify's own customer fields. Shopify's help center doesn't describe a built-in points program; loyalty programs on Shopify run through apps, and those apps store balances in their own systems or in places Shopify gives them, like metafields.
There are three places loyalty data commonly ends up:
- The loyalty app's own ledger. The app records points earned and spent against a Shopify customer ID. This is where most points balances live. You see them in the app, and sometimes in a customer account page the app adds. Shopify's developer docs for customer account UI extensions name loyalty program information and loyalty dashboards as examples of what apps can show there.
- Metafields. Shopify's POS customer management page says you can add custom metafields to store specialized information such as loyalty program status. Some apps and some merchants use customer metafields for tiers, points or member numbers.
- Store credit. Shopify's store credit docs say you can issue store credit as a reward or incentive, naming loyalty and referral programs. When a program pays out rewards as store credit, the value sits in Shopify's own store credit account on the customer profile.
Knowing which of the three your program uses tells you what a merge will do to it.
What happens to loyalty points when Shopify merges customers?
Shopify merges its own data and tells subscribed apps; it doesn't move an app's points. Shopify's help page on merging customer profiles lists what gets combined: orders, draft orders, addresses, email address, phone number, name, notes, tags, tax settings, timeline events, credit cards, customer accounts, gift cards and discounts. Loyalty points aren't on that list, and neither are metafields. Shopify doesn't say what happens to metafields in a merge, so don't assume they're kept.
What Shopify does provide is a signal. Its Admin API has a customers/merge webhook topic, described as triggering when two customers are merged. A loyalty app that subscribes to it can learn that one customer was folded into another and combine the balances. An app that doesn't subscribe, or that subscribes but only logs the event, may leave the duplicate's points attached to a customer ID that no longer shows up as its own profile in your admin.
Shopify's API also confirms that only one customer ID comes out of a merge. The customerMerge mutation returns a resultingCustomerId, described as the ID of the customer that's kept after the merge. Which one is kept depends on the email: in the admin, if both profiles have an email, the profile whose email you keep remains. If your loyalty app stores points against the other ID, those points are the ones at risk.
And there's no second chance. Shopify's help page says that after profiles are merged you can't reverse the process. If points are stranded by a merge, undoing it isn't an option. For more on what that means in practice, see whether you can undo a customer merge in Shopify.
Loyalty data and Shopify's customer merge at a glance
This table sums up how each kind of loyalty data behaves when two Shopify profiles are merged, based on Shopify's help and developer docs.
| Where the loyalty data lives | Moved by Shopify's merge? | Can it block the merge? | What to do before merging |
|---|---|---|---|
| Loyalty app's own points ledger | No; the app may react to the customers/merge webhook | No | Check the app's docs; move points by hand if it doesn't combine them |
| Customer metafields (tier, member number) | Not documented | No | Record values from both profiles and re-enter them on the kept profile if needed |
Customer tags (for example vip, gold-tier) | Yes, tags are combined | Yes, if combined tags exceed 250 | Remove stale tier tags so the merged profile doesn't hold two tiers |
| Notes | Yes, notes are combined | Yes, if combined notes exceed 5,000 characters | Trim long notes first |
| Rewards paid as store credit | No | Yes, a store credit account on either profile blocks the merge | Move the balance instead of merging |
| Rewards paid as discount codes | Discounts are listed as merged | No | Usually nothing; codes work at checkout |
| Rewards paid as gift cards | Listed as merged, but the API has a CUSTOMER_HAS_GIFT_CARDS error | Sometimes | Leave the card; its code still works |
Two rows deserve a closer look. Tags are combined, so a customer tagged silver on one profile and gold on the other ends up with both, and any segment or discount keyed to either tag will now match them. Shopify's rules for tags, notes and consent during a merge explain the limits in detail. And store credit is the reward type that turns a routine cleanup into a permanent split, which is covered below.
How do you consolidate loyalty points before merging?
Move the points first, merge second, verify third. That way the merge itself has nothing at stake, whatever your loyalty app does with the webhook.
- Find the pair and pick the profile to keep. Usually it's the profile with the email the customer signs in with, because that's where Shopify keeps the merged record when you keep its email. In the admin, the merge starts from Customers > [customer] > More actions > Merge customer.
- Record both balances. In your loyalty app, write down each profile's points, tier, referral code, pending or unconfirmed points, and points that expire soon. A screenshot of each profile is a good backup.
- Read the app's merge behavior. Search the loyalty app's help docs for "merge" or "Shopify customer merge". If it says it combines balances on a Shopify merge, you can skip the next step, but still verify after.
- Move the points by hand if needed. Add the duplicate's points to the main profile as a manual adjustment and deduct the same amount from the duplicate. Put the reason in the adjustment note, such as "Moved from duplicate profile, same customer".
- Check for store credit. Open both profiles in Shopify. If either shows a Store credit balance or account, Shopify won't merge them. Move the balance instead and keep both profiles.
- Clean up tier tags. If each profile carries a different tier tag, remove the one that shouldn't survive so the merged profile has one tier.
- Merge. Complete the merge in Shopify.
- Verify. Reopen the kept profile in the loyalty app. The balance should equal the two balances you recorded, minus anything you deducted. If it doesn't, fix it now while your notes are fresh.
Here's a worked example. A customer has 600 points on a POS profile created from their phone number and 1,450 points on the online profile they sign in with. Your app doesn't document anything about Shopify merges. You add 600 points to the online profile, deduct 600 from the POS profile, and merge, keeping the online profile's email. Afterward the online profile shows 2,050 points. If you'd merged first and the app ignored the webhook, the 600 points could have stayed on the POS profile's old ID with no profile left to view them on.
Why do store credit rewards make duplicates permanent?
Because a store credit account blocks every merge, and a reward payout creates one. Shopify's help page on merging lists "Either profile has a store credit account" among the cases where profiles can't be merged. Shopify's store credit docs, meanwhile, suggest store credit as a reward for loyalty and referral programs.
So if your loyalty program converts points into store credit, each payout to a duplicate profile makes that pair unmergeable. Store credit also matters to the customer: Shopify says customers can use it online only when they're signed in through customer accounts or using Shop Pay. Credit paid to a profile the customer never signs in with is hard for them to spend.
Two habits prevent this:
- Merge before a payout run. If your program issues credit monthly or after a campaign, run your duplicate cleanup first.
- When a pair is already blocked, move the value. Debit the duplicate and issue the same amount on the main profile, then link the two with a note and a tag. The steps are in store credit and gift cards when merging Shopify customers.
How do you stop loyalty duplicates from forming?
Most loyalty duplicates come from the same customer arriving through two doors: a phone number at the register and an email online, or a guest checkout and a later sign-up. Closing those doors keeps points in one place.
- Look the customer up at POS before creating a new one. Search by phone and by email. A new profile at the counter starts a new points balance.
- Ask for the email at sign-up and at checkout. Points are only useful to the customer on the profile they can sign in with.
- Scan for duplicates on a schedule. A monthly check catches pairs before both sides earn much. The common causes are covered in why Shopify creates duplicate customer profiles.
- Train staff on the order of work. Points first, merge second. Put it in your support playbook so whoever handles "my points disappeared" tickets knows what to check.
How Twinfold helps
Twinfold is a Shopify app by NewClick (independent, not made by Shopify) that finds duplicate customers and merges them in bulk through Shopify's own customer merge. It doesn't read or move loyalty points, and it isn't connected to any loyalty app. What it gives you is the list of duplicates to work through before you merge.
Scan for duplicates is free on every plan and groups profiles by email variant, same phone, or same name and address, showing why each group matches. You can open a group, consolidate that customer's points in your loyalty app, then come back and use Preview merge. Every merge is previewed with Shopify first and needs your confirmation, and groups Shopify refuses, such as profiles with a store credit account, show up in the Can't merge tab with the reason. If points matter to your customers, work group by group rather than merging everything in one run, so the points always move before the profiles do.
Frequently asked questions
Do loyalty points transfer when you merge customers in Shopify?
Not as part of Shopify's merge itself. Shopify's help page lists the data it combines, and loyalty points aren't on it, because points are normally stored by a loyalty app or in metafields rather than in a Shopify field. Shopify does send a customers/merge webhook to apps that subscribe, so your loyalty app may combine the balances. Check its documentation, or move the points by hand before you merge.
Why does my customer have two loyalty balances?
Because they have two Shopify customer profiles. A loyalty app keys points to a customer, so a person who bought once with a phone number at POS and once with an email online can earn points on two separate profiles. Neither balance is wrong; they're split. Find the duplicate, consolidate the points onto the profile they sign in with, then merge.
Can I merge customers whose loyalty rewards were paid as store credit?
No. Shopify won't merge two profiles if either has a store credit account, and Shopify's store credit docs name loyalty and referral programs as a use for store credit. Move the balance by debiting one profile and crediting the other, keep both profiles, and link them with a note and a tag.
What happens to points on the profile that disappears in a merge?
Shopify keeps one customer ID and folds the other profile into it. Any points your loyalty app stored against the other ID depend on how the app handles the customers/merge webhook. If it ignores the event, those points can be left on a customer record that no longer exists in your admin, and Shopify's merge can't be undone to get them back.