If you accidentally delete a studio customer, do not panic. Any deleted customer can be restored to your account.
In your account, go to Admin > People > Customers.
There is an 'Active' and 'Deleted' customer view. Select 'Deleted' and search for the customer's name.
Click the 'Recover' icon next to the customer's name to restore their profile. Once completed, you will receive a notification that the customer has been restored.