# Share "app-generated" barcodes with customers

Would you like to automate the process of creating new barcodes and sharing them with your customers? No problem, "Barcodify - Customer Selector" provides multiple methods to do so.

{% hint style="info" %}
If you prefer creating and sharing your own custom barcodes, please skip this guide and [sync custom barcodes with the app](/barcodify-customer-selector/getting-started/synchronise-merchant-issued-custom-barcodes-with-the-app.md).&#x20;
{% endhint %}

The app provides URLs that can be used to download digital cards and plain barcodes. These are called "app-generated barcodes". To generate them, add your myshopify.com domain name and the Shopify customer ID to the URLs below:

* **Plain Code 128 barcodes** - <https://select-customer-barcode-prod.herokuapp.com/public-api/v1/barcodes/code128/\\>\<myshopify\_domain>/\<customer\_id>. For example,[ ](https://select-customer-barcode-prod.herokuapp.com/public-api/v1/qrcodes/galmis-test.myshopify.com/12345)<https://select-customer-barcode-prod.herokuapp.com/public-api/v1/barcodes/code128/galmis-test.myshopify.com/1>.
* **Plain QR codes** - <https://select-customer-barcode-prod.herokuapp.com/public-api/v1/barcodes/qr/\\>\<myshopify\_domain>/\<customer\_id>. For example,[ ](https://select-customer-barcode-prod.herokuapp.com/public-api/v1/qrcodes/galmis-test.myshopify.com/12345)<https://select-customer-barcode-prod.herokuapp.com/public-api/v1/barcodes/qr/galmis-test.myshopify.com/1>.
* **Apple Wallet** - <https://select-customer-barcode-prod.herokuapp.com/public-api/v1/wallet/apple/\\>\<myshopify\_domain>/\<customer\_id>. For example, <https://select-customer-barcode-prod.herokuapp.com/public-api/v1/wallet/apple/galmis-test.myshopify.com/1>.
* **Google Wallet** - <https://select-customer-barcode-prod.herokuapp.com/public-api/v1/wallet/google/\\>\<myshopify\_domain>/\<customer\_id>. For example, <https://select-customer-barcode-prod.herokuapp.com/public-api/v1/wallet/google/galmis-test.myshopify.com/1>.

{% hint style="info" %}
Unique customer IDs are encoded in the barcodes, so when you scan a barcode, Shopify can recognise the customer by ID.
{% endhint %}

### Options

Plain barcode background and foreground colours are customisable via `bgColor` and `fgColor` [hex colour](https://www.w3schools.com/colors/colors_hexadecimal.asp) query parameters. For example,

**Transparent background**

```
https://select-customer-barcode-prod.herokuapp.com/public-api/v1/barcodes/code128/galmis-test.myshopify.com/1?bgColor=%230000
```

**Red foreground**

```
https://select-customer-barcode-prod.herokuapp.com/public-api/v1/barcodes/code128/galmis-test.myshopify.com/1?fgColor=%23ff0000
```

{% hint style="info" %}
Ensure hex colour parameters are [URL encoded](https://www.w3schools.com/tags/ref_urlencode.ASP), i.e. pass in **%23fff** instead of **#fff**.&#x20;
{% endhint %}

### Automated sharing

Typing customer IDs manually and sending links to customers individually would be slow. Luckily there are other quicker methods such as:

* [Sharing barcodes in person](/barcodify-customer-selector/getting-started/share-app-generated-barcodes-with-customers/share-barcodes-in-person.md). Your customers would simply scan a QR code from your device to download their mobile wallet passes. Useful in physical stores, no need to send passes online.
* [Sharing barcodes via Shopify email notifications](/barcodify-customer-selector/getting-started/share-app-generated-barcodes-with-customers/share-barcodes-via-shopify-notifications.md). Automatically send barcodes to your customers when they sign up, complete orders, etc.
* [Sharing barcodes via bulk messaging services](/barcodify-customer-selector/getting-started/share-app-generated-barcodes-with-customers/share-barcodes-via-bulk-messaging-services.md). Send barcodes to your existing customers in bulk via popular services such as Klaviyo, Mailchimp, Shopify Email, and more.
* [Displaying barcodes on your online store's customer account page](/barcodify-customer-selector/getting-started/share-app-generated-barcodes-with-customers/place-barcodes-on-the-legacy-customer-page.md). A simple mechanism for your customers to access their barcodes on demand.


---

# 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/share-app-generated-barcodes-with-customers.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.
