Barcode Label Template

Generate this PDF document with a simple API request or via Zapier

Barcode Label

Example JSON

Below is the JSON used to create the barcode label above. All of the attributes within the data parameter are non mandatory. Supply only what you want to populate on the document.

    
        {
    "template": "barcode_label",
    "width": 3.37,
    "height": 2.125,
    "unit": "in",
    "data": {
        "title": "360 Footwear",
        "subtitle": "4444 555 555 / 360footwear.co",
        "barcode": "TK0186501",
        "label": "TK0186501"
    }
}
    

Styling

It's easy to change the look and feel of the barcode label. The template API allows you to easily insert your own logo and specify a custom font.

    
        {
    "template": "barcode_label",
    "font": "Open Sans",
    "font_size": 0.9,
    "font_color": "#32325d",
    "data" : {...}
}
    

Generate as PDF or PNG

By default all templates are generated as a PDF document. If you would like to generate as a PNG image, supply the file_type parameter in your API request:

    
        {
    "template": "barcode_label",
    "file_type": "png",
    "data" : {...}
}
    

Auto Generate Barcode Labels with Zapier

Not a developer? No problem! Docamatic's Zapier integration allows you to easily generate barcode labels without coding.

Zapier and Docamatic

Need a custom template?

If you prefer to build your own templates or require more flexibility, be sure to try our HTML to PDF API . We are using the same HTML to PDF API to generate the barcode label above!

If you need a custom template please contact us to see if we can assist.

Back to templates