How can I clear ALL user data and purchase history from my account?

  • 29 October 2021
  • 2 replies

Badge +3


We’re testing our app and need to clear all user data and purchase history to test buying products like a new user. How can we do that?

I tried to delete customers, but they’re still on the list:

Thank you in advance for the answer.


Best answer by sundeep 30 October 2021, 01:03

View original

2 replies

Userlevel 3
Badge +8

Hi @Anton Karmanov,

That screenshot link is broken but I’m guessing it’s a snapshot of a customer list. Customer lists aren’t real-time so it can take up to an hour for deleted users to disappear from there:

If you’re trying to start “fresh” after deleting users, you’ll want to create and work with new Sandbox tester accounts as well. Otherwise, triggering the restore purchases method will re-sync the existing sandbox account's receipt with our servers and recreate the historical data.

Badge +1

How can I delete all sandbox customers at once without doing it one after the other?

I have several of them.