Get Barcode Types
Retrieve the list of available barcode types.
Endpointโ
GET /v1/barcodes/types
Required Scopeโ
products:read
Request Exampleโ
curl "https://app.equipdash.com/api/v1/barcodes/types" \
-H "Authorization: Bearer YOUR_API_KEY"
Responseโ
{
"data": {
"types": [
{
"value": "qr",
"label": "QR Code"
},
{
"value": "code128",
"label": "Code 128"
},
{
"value": "code39",
"label": "Code 39"
},
{
"value": "ean13",
"label": "EAN-13"
},
{
"value": "ean8",
"label": "EAN-8"
},
{
"value": "upca",
"label": "UPC-A"
}
]
},
"meta": {
"request_id": "req_abc123",
"timestamp": "2024-01-15T12:00:00Z"
}
}
Type Descriptionsโ
| Type | Description | Best For |
|---|---|---|
| QR Code | 2D matrix barcode that can store more data | Mobile scanning, URLs, complex data |
| Code 128 | High-density linear barcode | General purpose, shipping labels |
| Code 39 | Older alphanumeric format | Legacy systems, industrial use |
| EAN-13 | International product code (13 digits) | Retail products (worldwide) |
| EAN-8 | Compact version of EAN-13 (8 digits) | Small retail items |
| UPC-A | North American product code (12 digits) | Retail products (US/Canada) |
Choosing a Barcode Typeโ
Recommended: QR Codeโ
QR codes are recommended for most rental operations because:
- Work well with smartphone cameras
- Can store more information
- High error correction
- Easy to scan from any angle
When to Use Linear Barcodesโ
Use Code 128 or Code 39 when:
- Integrating with legacy barcode scanners
- Labels need to fit in a narrow horizontal space
- Existing inventory uses linear barcodes
When to Use EAN/UPCโ
Use EAN-13, EAN-8, or UPC-A when:
- Products are sold at retail with existing barcodes
- Integrating with point-of-sale systems
- Compliance with retail standards is required