# 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](https://galmis.gitbook.io/barcodify-customer-selector/getting-started/synchronise-merchant-issued-custom-barcodes-with-the-app).&#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](https://galmis.gitbook.io/barcodify-customer-selector/getting-started/share-app-generated-barcodes-with-customers/share-barcodes-in-person). 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](https://galmis.gitbook.io/barcodify-customer-selector/getting-started/share-app-generated-barcodes-with-customers/share-barcodes-via-shopify-notifications). Automatically send barcodes to your customers when they sign up, complete orders, etc.
* [Sharing barcodes via bulk messaging services](https://galmis.gitbook.io/barcodify-customer-selector/getting-started/share-app-generated-barcodes-with-customers/share-barcodes-via-bulk-messaging-services). 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](https://galmis.gitbook.io/barcodify-customer-selector/getting-started/share-app-generated-barcodes-with-customers/place-barcodes-on-the-legacy-customer-page). A simple mechanism for your customers to access their barcodes on demand.
