---
title: "IBarcodeData Interface"
canonical: https://customerscanvas.com/docs/cc6/customerscanvas.iframeapi.editor.ibarcodedata.htm
archived: true
applies_to:
  - product: "Customer's Canvas On-Premises"
  - product: "Design Editor"
    versions: ["6.15.0", "6.x (may differ)"]
---

**You’re viewing outdated documentation.** [View the latest Customer’s Canvas On-Premises documentation](https://customerscanvas.com/docs/on-premises/).

# IBarcodeData Interface

**Applies to:** Customer's Canvas On-Premises; Design Editor 6.15.0, 6.x (may differ) · **Archived documentation**
 
A structure containing data that can be encoded into barcodes.
  
 - example
     - ```
configuration = {
    autoLoadUserInfo: true,
    userInfo: {
        "Ean 8": {
            "BarcodeFormat": "EAN_8",
            "BarcodeValue": "1234567"
        },
        "Ean 13": {
            "BarcodeFormat": "EAN_13",
            "BarcodeValue": "123456789012"
        },
        "Qr Code": {
            "BarcodeFormat": "QR_CODE",
            "BarcodeSubType": "Url",
            "Url": "https://example.com"
        }
    }
};
```
 
## Properties
 
### barcodeFormat
 
barcodeFormat: [BarcodeFormat](https://customerscanvas.com/docs/cc6/customerscanvas.iframeapi.editor.barcodeformat.htm.md)

The barcode type.
 
### Optional barcodeSubType
 
barcodeSubType: [BarcodeSubType](https://customerscanvas.com/docs/cc6/customerscanvas.iframeapi.editor.barcodesubtype.htm.md)

The QR code subtype.
 
### Optional barcodeValue
 
barcodeValue: string

A value encoded into this barcode.
 
### Optional email
 
email: string

The email address encoded into this barcode.
 
### Optional firstName
 
firstName: string

The first name encoded into this barcode.
 
### Optional lastName
 
lastName: string

The last name encoded into this barcode.
 
### Optional mobilePhone
 
mobilePhone: string

The mobile phone number encoded into this barcode.
 
### Optional organization
 
organization: string

The organization name encoded into this barcode.
 
### Optional phone
 
phone: string

The phone number encoded into this barcode.
 
### Optional position
 
position: string

The job position encoded into this barcode.
 
### Optional url
 
url: string

The URL encoded into this barcode.
