AccountCraft Journal
How to Delete a Customer Account in Shopify
Delete a customer in Shopify admin step by step, see why profiles with orders can't be deleted, and use Erase personal data when a customer asks for removal.

To delete a customer in Shopify, open Customers in your admin, select the customer, choose More actions > Delete customer and confirm. That only works for profiles with no orders. If the customer has ever placed an order, you can’t delete the profile. Use More actions > Erase personal data instead, which redacts their name, email, phone and address while the order history stays in your admin.
This guide walks through both routes, the cases where the Delete button is missing, what happens to installed apps, and how to handle a customer who writes to you asking to be removed. If you are also building a better self-service experience in New Customer Accounts, we cover where AccountCraft fits near the end.
TL;DR
- Delete customer removes the whole profile, can’t be undone, and is blocked if the customer has an order, a past subscription, a pending redaction or an undelivered scheduled gift card.
- Erase personal data is the route for customers with orders: it redacts personal details but keeps the profile and order history.
- Customers can’t delete their own accounts from the storefront by default, so every request lands with you and you process it in the admin.
- Erasure requests are passed on to your installed apps, and you still have to clear data you keep in outside tools.
- AccountCraft lets customers view and edit their own data in New Customer Accounts, so fewer requests start as emails to support.
Table of Contents
- Delete a customer vs. erase their personal data
- How to delete a single customer
- How to delete customers in bulk
- When the customer has orders: erase personal data
- What Shopify does and doesn’t remove
- Customers can’t delete their own accounts
- Deleting customers through the API
- A cleanup checklist for merchants
- Fewer removal emails with self-service accounts
- Our perspective
- FAQ
- Sources
Delete a customer vs. erase their personal data
Shopify gives you two different actions, and picking the wrong one is the most common reason merchants get stuck.
| Delete customer | Erase personal data | |
|---|---|---|
| What it does | Removes the entire profile | Redacts name, email, phone, address |
| Profile stays in admin | No | Yes, along with order history |
| Works if the customer has orders | No | Yes |
| Can be undone | No | Can be canceled within 5 days |
| Admin path | Customers > customer > More actions > Delete customer | Customers > customer > More actions > Erase personal data |
The distinction comes straight from Shopify’s documentation. Deleting a profile can’t be undone, and Shopify redacts the customer’s personal data such as name and address from its records when it happens. Erasing personal data keeps the profile and order history in your admin, while deleting removes the entire profile.
A good rule: if the profile is a duplicate, a test account or a spam signup with no purchases, delete it. If a real shopper wants their data gone, erase it.
How to delete a single customer
- From your Shopify admin, go to Customers.
- Click the name of the customer you want to remove.
- Click More actions, then Delete customer.
- Confirm the deletion.
These are the steps in Shopify’s customer management help page. There is no recycle bin, so check the email address on the profile before you confirm, especially when two profiles look alike.
Where it goes wrong
If Delete customer is missing or fails, one of these is usually the cause. Shopify says a profile can’t be deleted if the customer:
- is associated with an order,
- has ever had a subscription,
- has a pending redaction request, or
- is the recipient of a scheduled gift card that hasn’t been delivered.
The order rule catches most people. Even an old, canceled or test order counts, because order history is tied to customers for record keeping. Shopify’s developer documentation describes the same limit in its Customer object reference: a customer can be deleted only if they haven’t made an order.
How to delete customers in bulk
For a cleanup of spam signups or imported test records:
- Go to Customers in your admin.
- Filter the list (for example by a tag you added to the junk profiles), then select the profiles with the checkboxes.
- Click the icon next to Bulk edit and select Delete customers.
Shopify applies the same restrictions in bulk, so profiles with orders are not removed. Tag candidates first, review the filtered list, and only then select them. Because deletion is permanent, export the list as a CSV before you remove anything you might need later, and then check the export for anything that should be kept.
When the customer has orders: erase personal data
A shopper who has bought from you and asks you to remove their data needs the erasure route.
- Go to Customers and open the customer’s profile.
- Click More actions, then Erase personal data.
- Confirm the request.
According to Shopify’s guide to processing customer data requests, this redacts personal information such as the name, email, phone and address. The profile shell and the order history remain in your admin, which means your sales records and accounting still add up. You have 5 days to cancel the request if you change your mind or started it by mistake.
What the 5-day window means for your apps
The erasure request isn’t limited to Shopify. It is also sent to apps and sales channels installed on your store. Shopify’s privacy law compliance documentation says Shopify sends a customers/redact payload to installed apps 5 days after the deletion request is made. If the customer is the recipient of a scheduled gift card, Shopify holds the request until the gift card is delivered.
That has two practical consequences:
- Don’t expect your apps to clear the data on day one. Allow for the window plus the time each app needs to process the payload.
- Anything you keep outside Shopify and its apps, such as a spreadsheet, an email platform export or a helpdesk, is yours to clean. Shopify’s compliance webhooks don’t reach those.
Watch out for subscriptions and pre-orders
Erasing a customer with active pre-authorized payments has a cost. Shopify warns that remaining payments aren’t charged, subscription contracts are canceled, and pre-authorized order payments don’t materialize, so you take a loss on those partial sales. Before you erase, check whether the customer has a live subscription or pre-order and settle it first. If cancellations are a recurring topic for your store, this piece on reducing subscription cancellations covers the retention side.
What Shopify does and doesn’t remove
Erasing a customer on your store is not the same as erasing everything Shopify holds about that person. Shopify notes that a request to erase personal data doesn’t cover data it receives through the customer’s own relationship with Shopify, such as Shop and Shop Pay. Customers can submit those requests through the Shop app account settings or the Shopify privacy portal. If your customer asks about this, point them there for that part.
There is also a difference when the whole store closes. If you deactivate a store, Shopify retains the store information for 2 years, and the store owner can request erasure of all customers’ personal data from the deactivated store at any time within that period. Only the store owner can submit that request.

Customers can’t delete their own accounts
A question that comes up often is whether shoppers can click a button to close their account. By default they can’t. Shopify community documentation confirms that storefront account settings don’t offer self-deletion, and that you either remove the profile in the admin or build a private app to call the Admin API. The same thread notes that API deletion attempts on customers with orders return a 422 error.
So the workflow is always merchant-driven:
- The customer emails you, or submits a form, asking for removal.
- You verify that the request really comes from the account holder.
- You decide between Delete customer (no orders) and Erase personal data (orders).
- You clear data held outside Shopify.
- You reply to the customer to confirm.
The customer can’t trigger the redaction webhook themselves. Per Shopify developer community guidance, the merchant’s action in the admin is what sends it to apps.
A note on privacy law
Under the EU’s GDPR, people have a right to erasure (Article 17) in listed situations, for example when the data is no longer necessary or consent is withdrawn. It also lists exceptions, including legal claims and legal obligations, which is why records like orders can be retained. How these rules apply to your store depends on where you and your customers are, so confirm your obligations with a lawyer or privacy adviser. For the practical request-handling side, see our Shopify DSAR process guide. For a broader view of why protecting shopper data matters, this overview of cybersecurity for e-commerce is a helpful start.
Deleting customers through the API
Developers and agencies handling many requests can script it. The GraphQL Admin API’s customerDelete mutation needs the write_customers access scope and deletes only customers who haven’t placed any orders. Before calling it, you can read the canDelete field on the Customer object to see whether deletion is allowed.
For customers with orders, the customerRequestDataErasure mutation requires the write_customer_data_erasure scope. To cancel a request, use customerCancelDataErasure. Shopify has also made the REST Admin API legacy, and since April 1, 2025 new public apps must use GraphQL exclusively, according to Shopify’s REST reference, so build new scripts on GraphQL.

A cleanup checklist for merchants
Use this order each time a removal request arrives:
- Confirm identity. Match the request to the email on the profile.
- Check for orders, subscriptions and gift cards. They decide which action is available.
- Settle active subscriptions or pre-orders before erasing.
- Run the action in Customers > customer > More actions.
- Wait out the 5-day window and note the date in your records.
- Clear external tools: email lists, spreadsheets, helpdesk tickets.
- Reply to the customer and keep a short log of what you did.
Fewer removal emails with self-service accounts
Many removal and correction requests start because customers have no way to see what you hold. If a shopper can view their details, fix an outdated address or change their consent choices themselves, the conversation with your support inbox is shorter. That is what AccountCraft is built for in New Customer Accounts.
AccountCraft is a Shopify app with a visual Block Builder for New Customer Accounts. You add blocks such as an update form, single fields bound to customer metafields, record lists, privacy consent and SMS consent blocks, and a wishlist, without code or theme changes. Customer data stays in Shopify, and there is no separate customer database. The consent blocks help you collect, record and honor consent through Shopify’s customer privacy APIs; compliance remains your responsibility.
There is a free plan, and the paid plans (Pro and Plus) are billed through Shopify. You can see current pricing on the Shopify App Store listing. You can try the Free, Pro and Plus plans and install AccountCraft free from the Shopify App Store.

If you are still on legacy customer accounts, our guide to moving to New Customer Accounts explains how to restore the features your customers relied on. For consent setup, see the GDPR checkbox guide and our post on customer consent in Shopify.
Our perspective
Most merchants meet the delete button only when something goes wrong: a customer asks for removal, and the profile has an order attached. The workflow is manual, and it begins in someone’s inbox.
We think the better pattern is to give customers a clear place to manage what you hold about them. In New Customer Accounts, that means an account page where people can see and edit their details and set their consent choices, built from blocks and kept inside Shopify.
That is why AccountCraft binds fields to customer metafields and keeps data in Shopify instead of copying it elsewhere. When the data lives in one place, answering a request, whether it is a correction or an erasure, is a single admin action rather than a hunt across tools.
Deleting stays your decision, and it stays in the Shopify admin. Good account pages make that decision less frequent and better informed.
Ivan Signorile
FAQ
Why can’t I delete a customer in Shopify?
The most likely reason is that the customer has an order. Shopify blocks deletion for profiles tied to orders, and also for customers with a past subscription, a pending redaction or an undelivered scheduled gift card. Use More actions > Erase personal data when you need to remove their details.
Does deleting a customer delete their orders?
No. Profiles with orders can’t be deleted at all, so their order history stays. With erasure, personal details such as name and address are redacted, but the order history and profile remain in your admin.
Can a customer delete their own Shopify account?
Not from the storefront by default. They need to ask you, and you process the request in the admin. For data Shopify holds through Shop or Shop Pay, they can use the Shop app account settings or the Shopify privacy portal.
Can I undo a customer deletion or erasure?
Deleting a customer profile can’t be undone. An erasure request can be canceled within 5 days, before Shopify sends it on to your installed apps.
Sources
- Shopify Help Center: Managing customers
- Shopify Help Center: Processing customer data requests
- Shopify Help Center: Erase your data
- Shopify developer docs: Customer object (2026-07)
- Shopify developer docs: Privacy law compliance
- Shopify developer docs: customerDelete
- Shopify developer docs: customerRequestDataErasure
- Shopify developer docs: REST Admin API customer resource
- Shopify Community: Allow customers to delete (disable) their account
- Shopify developer community: Compliance webhooks
- EUR-Lex: GDPR, Regulation 2016/679