# Import accounts

{% hint style="info" %}
Start creating, importing, or migrating customer accounts from another platform. Need to create or update existing accounts? See [Create or Update accounts](https://docs.shopwaive.com/shopify/accounts/import-accounts#create-or-update-accounts-with-bulk-import)
{% endhint %}

## Delete accounts with Bulk import

{% hint style="warning" %}
Deleting accounts is an irreversible action, ensure you create a backup before proceeding
{% endhint %}

Delete inactive, dormant, or terminated accounts with our Bulk import Delete Accounts mode. Follow the steps below to delete accounts via a bulk import operation.

Importing accounts in this mode will mark them for immediate deletion, including all related customer data including transaction history. This action is irreversible, and cannot be changed. If you are unsure, please export your customer data prior to proceeding or contact us at <support@shopwaive.com>.&#x20;

This action only deletes Shopwaive data associated with customers and does not delete any Shopify data. Deleting accounts may be desired if known accounts are inactive, dormant, or you wish to exclude accounts from being serviced by Shopwaive.&#x20;

{% hint style="info" %}
Deleting accounts can help reduce your monthly expenditure by reducing your total accounts subject to usage fees that Shopwaive services. You'll use the same CSV template used for importing customers. When you delete customers the same import template is required but only data in the Email column is used to mark customers for deletion, all other column data is ignored and can be left blank
{% endhint %}

Open the app, visit the <mark style="color:$primary;">**Customers**</mark> menu, and click <mark style="color:blue;">**Import**</mark> at the top right

<figure><img src="https://1743155819-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6HSAZj4RDucpQwVtzMYt%2Fuploads%2FJvVyky55uAFnkzDqn3re%2Fimage.png?alt=media&#x26;token=7e5d485d-9422-4ad4-bbd2-950d5044c2b2" alt=""><figcaption></figcaption></figure>

Once you click <mark style="color:blue;">**Import**</mark>, at the bottom right of the top card click the link labeled <mark style="color:$primary;">**I want to delete accounts**</mark>, this will activate **Delete mode.**

<figure><img src="https://1743155819-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6HSAZj4RDucpQwVtzMYt%2Fuploads%2FnnjFLkkrAMRs83b2XAwz%2Fimage.png?alt=media&#x26;token=73c4e5ed-3340-408d-9d7e-9e356d861622" alt=""><figcaption></figcaption></figure>

To delete accounts, You'll use the same CSV template used for importing customers. In the template, populate the Email column with emails of the accounts that you want to delete. Only the Email column will be used to delete accounts with matching emails on file. All other column data is ignored and can be left blank, however, the header columns of the downloaded import template are still required to complete the bulk delete operation.&#x20;

<figure><img src="https://1743155819-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6HSAZj4RDucpQwVtzMYt%2Fuploads%2Ffm2N6TjTBYaXgjH3Mp7d%2Fimage.png?alt=media&#x26;token=b2731866-c00f-42c2-8e14-39a84fe95f7b" alt=""><figcaption></figcaption></figure>

After adding the account emails, drag and drop your import CSV file into the drop zone or click <mark style="color:$primary;">**Add file**</mark> to upload from a local drive.&#x20;

<figure><img src="https://1743155819-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6HSAZj4RDucpQwVtzMYt%2Fuploads%2Fbrb7WQxFNKeR7qs1aB7O%2Fimage.png?alt=media&#x26;token=733bc3ae-8e41-483f-ae45-aca745d3f839" alt=""><figcaption></figcaption></figure>

After you are ready to proceed to delete the targeted accounts, click the <mark style="color:$primary;">**Delete accounts**</mark> button at the top right of the page. A popup will appear to ensure you want to proceed. After proceeding, your accounts and associated transaction data will be deleted immediately.

<figure><img src="https://1743155819-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6HSAZj4RDucpQwVtzMYt%2Fuploads%2FsiJ6qNwnjBQAcC90TO38%2Fimage.png?alt=media&#x26;token=f5a10498-c8c9-4323-b313-ca8759028eb9" alt=""><figcaption></figcaption></figure>

Upon successful deletion, a toast message will appear at the bottom of the page, "*Accounts deleted"*

<figure><img src="https://1743155819-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6HSAZj4RDucpQwVtzMYt%2Fuploads%2FwicG5hZObtr24yxcDtRk%2Fimage.png?alt=media&#x26;token=0514ca49-c5f5-459e-b7c8-99853c4becf1" alt=""><figcaption></figcaption></figure>

After accounts are deleted, you are no longer charged usage (servicing) fees for these accounts and Shopwaive no longer retains the data stored previously.

{% hint style="info" %}
Have any questions on deleting accounts? Reach out to our team at <support@shopwaive.com>, we're here and happy to help
{% endhint %}

## Delete accounts from Settings

From the <mark style="color:$primary;">**Settings**</mark> menu, you can visit the <mark style="color:$primary;">**General**</mark> tab and <mark style="color:$primary;">**Delete Accounts**</mark>. This operation allows you to delete all your accounts on file, or only the ones that do not have a balance. This option is reserved as an irreversible nuclear option and should be avoided unless you have completed an export to backup your data or are working in a development environment where data is not necessary to retain.

## Create or update accounts with Bulk import

{% hint style="success" %}
If you have developer support, you can also create and import accounts using the [Shopwaive API](https://app.gitbook.com/o/SpCCkgNXlMAi7LwdhEAE/s/R7BwDfJhPObShd4z9nqx/). Have questions? Reach out to our team at <support@shopwaive.com>, we're glad to help
{% endhint %}

First, navigate to the <mark style="color:$primary;">**Customers**</mark> menu, then click <mark style="color:blue;">**Import**</mark>

<figure><img src="https://1743155819-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6HSAZj4RDucpQwVtzMYt%2Fuploads%2FCho8LcQ4WSix4QanJgHq%2FImport.png?alt=media&#x26;token=36ef056a-8e99-446d-9d39-09f5c69b8947" alt=""><figcaption><p>Click Import from the top right</p></figcaption></figure>

## Get the template

Click <mark style="color:blue;">**Download the CSV import file**</mark> to download the template CSV file to your local drive

<figure><img src="https://1743155819-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6HSAZj4RDucpQwVtzMYt%2Fuploads%2FNQjSsX3MqPfa3FJ3kgJp%2FTemplate.png?alt=media&#x26;token=20fb8d0f-1ee2-41d9-a743-9084cd619576" alt=""><figcaption><p>Choose to either assign or increment balances, then select Download the CSV import file</p></figcaption></figure>

{% hint style="info" %}
New! Target Shopify's new [Store Credit Primitive and API](https://www.shopify.com/blog/store-credit) during bulk import to update 1,000s of your customers balance in just seconds. You can use Shopify's native store credit feature in combination with Shopwaive balances and Checkout extensions
{% endhint %}

## Assign balances using the Balance column&#x20;

<figure><img src="https://1743155819-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6HSAZj4RDucpQwVtzMYt%2Fuploads%2FxBejGfnOzbHh9nnLtlq1%2FExampleTemplate.png?alt=media&#x26;token=e63dd848-f719-4c7e-b4d9-6ee267a21662" alt=""><figcaption><p>Assign template file with customer data being prepared to import into Shopwaive</p></figcaption></figure>

{% hint style="success" %}
Note, you cannot use both the Balance and Increment columns in the same template
{% endhint %}

## Increment balances using the Increment column

<figure><img src="https://1743155819-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6HSAZj4RDucpQwVtzMYt%2Fuploads%2ForQpxVgFpabDSYZ0bgtH%2FIncrement___.png?alt=media&#x26;token=193ed1ef-f58e-4d9b-b6b8-279498105051" alt=""><figcaption><p>Increment template file with customer data being prepared to import into Shopwaive</p></figcaption></figure>

Copy and paste your customer's email address, existing credit balance or incremental deposit or debit, and any note you'd like to attach to the customer import transaction. The Email and either the Balance or Increment are required, while any transaction note is optional. You also have the option to include Shipping credits, this column accepts integer values, each shipping credit is equal to free shipping on a single order. Enter "1" to give free shipping on a single order, or "0" to defer giving newly imported customers shipping credits.

{% hint style="success" %}
The Balance or Increment column can be any numeric value greater than or equal to 0. It does not require a currency symbol, but you can include it if it is convenient. Your balance currency will always be defined by the currency setting defined in <mark style="color:blue;">**Settings**</mark><mark style="color:blue;">.</mark>
{% endhint %}

{% hint style="info" %}
The total number of customers that can be imported and at any given time is limited depending on your Shopwaive subscription plan. Our team can temporarily lift these restrictions upon request and based on need, please email us at <support@shopwaive.com>
{% endhint %}

## Upload your customers

Ensure you save or export the template with your customer data as CSV (.csv file extension). Then simply click <mark style="color:blue;">**Upload**</mark> or <mark style="color:blue;">**Drag and drop**</mark> to import your data into Shopwaive. When the file upload is successful, your page will appear similar to the example provided below.&#x20;

<figure><img src="https://1743155819-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6HSAZj4RDucpQwVtzMYt%2Fuploads%2FXdzodKiJ1sYPd7jczHso%2FUpload.png?alt=media&#x26;token=267a8ec3-1b4e-4742-bd7c-efba2b3f0423" alt=""><figcaption><p>Accounts are successfully uploaded and ready for import</p></figcaption></figure>

If you have trouble importing your customer data, try the troubleshooting steps listed here, otherwise you can skip this section and continue to <mark style="color:blue;">**Confirm and Import your customers**</mark>

## Troubleshooting imported customers

To ensure you are successful with importing your existing customer data, follow the guidance and requirements outlined below.

1. Ensure you use the CSV template file by clicking <mark style="color:blue;">**Download the CSV import file**</mark>
2. Only include data for the columns in the template, and do not change the column titles
3. Check to be sure your customers email addresses are valid and are in the correct format
4. Expiry dates and Shipping are optional, leave blank if you do not need to define an expiration or shipping credit. You can always change this later
5. Only include numerical amounts greater than or equal to zero in the <mark style="color:blue;">**Balance**</mark> column. The <mark style="color:blue;">**Increment**</mark> column accepts values less than zero to perform a debit. In contrast, values greater than zero will perform a credit. Currency symbols are optional, but consider removing them if you receive errors. Define your store credit currency in the app <mark style="color:blue;">**Settings**</mark>
6. If you exceed the limit for max number of customers imported, contact our support team at <support@shopwaive.com>, depending on your subscription plan we may lift these restrictions.

## Confirm and Import your customers

After you confirm the data is ready, click <mark style="color:blue;">**Import**</mark> to proceed to import your customers into Shopwaive. If you have customers that did not previously have a Shopify account, a Shopify account is created for them.&#x20;

{% hint style="success" %}
Discover the powerful benefits of using Shopwaive. Give credit to new leads or potential customers that have opted-in for email notifications. You can then send emails within Shopwaive and send automated Account activation requests with an offer to encourage first-time customers to visit your site and spend their welcome credit. Pretty neat, right?
{% endhint %}

## Successful import

If the import is successful, you'll receive a success message and the import transactions take effect immediately (with the exception to large datasets described below).&#x20;

Most imports take effect within seconds. For large datasets with new customers without a previous Shopify account, allow an additional 7 seconds per new account. For each new customer you can estimate the time to complete using this formula:&#x20;

**No. of&#x20;*****new*****&#x20;customers** x **7 seconds** = ETA to complete

> For example, you have 1,000 new customers without a previous Shopify account. The estimated time to import is calculated below:
>
> 1,000 accounts x 7 seconds = 7000 seconds / (60 seconds / 1 minute) = Approximately 2 hours to import and sync 1,000 new Shopify customers

Alternatively, if all your imported accounts already have a Shopify account and you only need to update their Shopwaive data, you can estimate the time to complete an import to update Shopwaive data by assuming 5 ms per transaction.

For example, you have 1,000 transactions to update. The estimated time to complete the Shopwaive data updates with bulk import is:

> 1,000 transactions x 5 milliseconds = 5,000 milliseconds / (1,000 milliseconds / 1 second) \* (60 seconds / 1 minute) = Approximately 5 seconds to import and sync 1,000 transactions
