If your Shopify app or integration shows customer names anywhere, there's a small change from yesterday worth five minutes of your time. For some customers, the name your app gets back may now be three dots: •••. No error, no warning, just three dots where a name used to be.
Shopify posted it on its developer changelog on 1 December, headed displayName no longer exposes unapproved email or phone. It's marked "action required", it's tagged Security, and it took effect the same day.
What displayName used to do
The displayName field on a Shopify customer is meant to be the customer's full name, built from their first and last name. But not every customer has a name. Someone who signed up for the newsletter with just an email address, or a customer with only a phone number on file, may have no name at all.
For those customers, Shopify's docs say displayName falls back to the email address, and then to the phone number. Handy, because your app always had something to show. The catch is that it was a back door. An app that had been given access to customer names, but not to email addresses or phone numbers, could still read them through displayName for any customer without a name.
That back door is now shut.
What it does now
The fallback order is the same, but each step now checks what your app is allowed to see:
- If the customer has a name, you get the name, as before.
- If displayName would fall back to an email address, your app needs access to customer email to see it.
- If it would fall back to a phone number, your app needs access to customer phone numbers.
- If your app doesn't have that access, you get ••• instead.
- If the customer has no name, email or phone at all, you get an empty string.
It covers Customer.displayName in both the GraphQL Admin API and the Customer Account API, plus a few related fields in the Admin API: displayName on customer segment members and on customer merge previews, and the messages that come back when you check whether two customers can be merged. Those merge messages now show a generic message rather than an email or phone your app can't read. Shopify says "The REST Admin API doesn't change."
Two details make this one easy to miss. It applies on every API version, so pinning your app to an older version doesn't keep the old behaviour. And the schema hasn't changed. The field is still a non-null string. Your code compiles, your types check, your tests pass, and the data is different.
Where three dots could cause trouble
If you only show displayName on a screen, three dots is ugly but harmless. The trouble comes when code does something with the value. A few places I'd look:
- Syncs into other systems. An integration that copies Shopify customers into a CRM, helpdesk, ERP or mailing list, using displayName as the contact name. You could end up with a run of contacts all called •••, which won't help anyone find the right one.
- Code that treats displayName as an email. If something checks "does the name contain an @" to decide this customer has no name and must be emailed at that address, it'll now quietly get it wrong.
- Matching and de-duplicating. Anything that uses the name to match customers between systems will now see lots of customers with exactly the same name.
- Customer-facing text. A greeting built from displayName, in an email or a customer account extension, could now read "Hi •••".
None of these will throw an error. They'll just produce slightly wrong data, quietly, until someone notices.
What to do
Shopify's advice is short and sensible.
Find out whether you read the field. Search the code for displayName, and check the GraphQL queries, including any bulk operation queries that live in their own files. If you also query the segment member or merge fields, include those.
If you genuinely need the email or phone, ask for it properly. Request protected customer data access for email and phone in the Partner Dashboard. That's the honest route anyway. If your app needs the email address, it should ask for the email field rather than relying on a fallback. Shopify's protected customer data docs set out what's expected of an app that holds that data, and they're worth reading as a description of how such an app ought to be run, whether or not yours goes through a review.
If you don't need it, handle the placeholder. Treat ••• and the empty string as "no name", and show or store something sensible instead. Better still, if you want a name, ask for firstName and lastName and decide for yourself what to do when they're blank.
Then test it. Shopify suggests a development store and a customer with no name and only an email address. Before your app has email access you should see •••, and afterwards the email. It's a two minute test, and the kind of thing a staging copy of your app is for: checking a change from a supplier before it bites in front of customers.
The wider point
This isn't the first recent change where Shopify has tightened who can see customer data. The abandoned checkout link change was the same idea. Fair enough. Apps should only see what they've been approved to see, and it's better for everyone if a field can't be used to get round that.
But each change lands in code that somebody wrote a while ago, often for a reason nobody wrote down. Custom apps and integrations don't break dramatically when this happens. They drift. A name goes missing here, a sync goes slightly wrong there, and it's months before anyone joins the dots (or, in this case, the three dots).
If you're not sure what your app does
That's normal for an app built a few years ago by someone who's since moved on. We build and look after Shopify custom apps and integrations. Our code audit (£250 + VAT) will tell you which Shopify fields your app relies on, this one included, and what happens when they come back empty. If you'd rather someone kept an eye on Shopify's changes for you, Look after it starts from £355 a month + VAT.
If your customer records have started filling up with dots, get in touch and we'll take a look.
Cheers, Rob

