Customer CSV guide

How to update Shopify customers by CSV without erasing their data

What you’ll need

  • Your customers export CSV (the full export, as your backup)

    How to get this: Your customers export CSV
    1. Customers › Export › All customers (keep Customer tags ticked) › Export customers.
    2. More than 50 customers arrive by email.

    Step-by-step guide (opens in a new tab)

  • Your change sheet (email plus the columns you want to change)

  • Shopify’s customer importer, to load the result

    How to get this: Shopify’s customer importer, to load the result

    It’s in Customers › Import. Export a backup first: an import can’t be cancelled once it starts.

    Step-by-step guide (opens in a new tab)

Merge your changes safely

What Overwrite does

Shopify’s help says that when you overwrite existing customers with the same email or phone, all of their customer data is replaced, including the import tags. In practice a file with only First Name, Last Name, Email and Tags erases the customer’s default address (address, city, ZIP, country) and replaces all their tags, while phone and marketing status stay. Treat every column in the file as the new value.

With full rows from the export, the same import changes only the cells you edited. A new email on a row that keeps the customer’s phone updates that customer instead of creating a new one, and the apostrophes in Shopify’s “CSV for Excel” export (before IDs and phone numbers) are ignored on import. Customers with no address get an empty default address with just their name.

Steps

  1. Export all customers with Customer tags ticked. Keep it as a backup.
  2. Make a change sheet: Email plus only the columns to change. Blank means no change.
  3. Drop both files into the updater and read the list of changes.
  4. Import the 1-customer test file with Overwrite ticked and check that customer.
  5. Import the rest.

Gotchas

  • Customers with duplicate emails or phones in one file are skipped by Shopify.
  • Import files must be UTF-8 and under 15 MB; the updater splits big ones.
  • Customers not in your export would be created, so they’re left out.
  • Excel can drop leading zeros from ZIP codes and turn phone numbers into 1.6E+10.

When you don’t need a CSV

For tags, names, email marketing and metafields on a segment, Shopify’s bulk editor (Customers > select > Edit customers) is simpler.

More guides