# Import barcodes

1. Navigate to the "Customers" page within the app.
2. Click the "Import barcodes" button in the top right corner of the page.
3. Add a CSV file of the [required format](https://barcodify-prod.s3.amazonaws.com/public/imports/barcodes_import_template.csv) in the opened window.
4. Click the "Import barcodes" button in the bottom right corner of the opened window.

## Required CSV file format

<figure><img src="/files/segIA2F6Mf7uuacO5bHn" alt=""><figcaption><p>Import barcodes CSV sample</p></figcaption></figure>

1. The first column from the left should contain a unique customer reference, such as Shopify customer ID. However, emails, phone numbers or full names may also work as long as they are unique and **exactly match the values stored in Shopify**.
2. The second column from the left should contain customers' barcodes.

{% hint style="info" %}

* Only one unique barcode per customer is supported. New imports with previously saved customers or barcodes will overwrite the saved values in the app's database.
* The 1st line (used for headers) and empty lines will be ignored.
  {% endhint %}

{% hint style="warning" %}
The customer reference (ID, email, phone number or name) have to **exactly match the values in Shopify** to be imported.&#x20;

Microsoft Excel tends to apply some formatting by default, so the underlying values are different than what you see in MS Excel. This is particularly problematic for long numbers (such as IDs) as they tend to be converted to the shorter scientific notation, e.g. 7.39662E+12. I recommend checking the file in a simple text editor (e.g. Notepad) to see the underlying values or use a simpler CSV editor such as [Google sheets](https://www.google.co.uk/sheets/about/).
{% endhint %}

## How does it work?

The app will match the customer references in the import with the ones in Shopify. The app will save the customer IDs and the barcode values in the app's database.&#x20;

You should receive an email with the summary once the import finishes (usually within 10-20 minutes). You can also check the imported barcodes on the "Customers" page in the app.

<figure><img src="/files/y76uiJItQyUc9QxZ0w86" alt=""><figcaption><p>Custom barcodes</p></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://galmis.gitbook.io/barcodify-customer-selector/getting-started/synchronise-merchant-issued-custom-barcodes-with-the-app/import-barcodes.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
