New Barcode EAN-8 Barcode v1
This template generates an EAN-8 barcode on a specified size PDF.
Info
Information to call the EAN-8 Barcode v1 template
API End Point:
https://api.advicement.io/v1/templates/pub-ean-8-barcode-v1/compile
Authentication:
Use your API Security Token (which is generated in your dashboard) in the Adv-Security-Token header parameter
Refer to our authentication guide for more information.
Uses Luatex:
TRUE
Uses Charts:
FALSE
Available On:
{ "documentSettings": { "pageHEXColour": "FFFFFF", "documentHeight": "5cm", "documentWidth": "5cm" }, "documentContent": { "encodedData": "96385074" } }

documentSettings - A JSON object which contains the settings of the template (pageHEXColour, documentHeight, documentWidth).

pageHEXColour - An optional string which contains the HEX page colour of the document in HEX. The default value is 'FFFFFF'.

documentHeight - An optional string relating to the height of the document (in cm). The default value is '10cm'.

documentWidth - An optional string relating to the width of the document (in cm). The default value is '10cm'.

documentContent - A JSON object which contains the content of the template (encodeData).

encodeData - A required string which contains the encoded data for the Barcode.