Get Supported Barcode Formats
GET
/v1/label-templates/barcode-formats
const url = 'https://example.com/api/v1/label-templates/barcode-formats';const options = {method: 'GET', headers: {Authorization: '<Authorization>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://example.com/api/v1/label-templates/barcode-formats \ --header 'Authorization: <Authorization>'Authorizations
Section titled “Authorizations”Responses
Section titled “Responses”OK
Media typeapplication/json
Array<object>
object
contentType
What kind of content this format supports
string
description
string
format
string
is2D
boolean
maxLength
0 means variable/unlimited
integer
name
string
Example
[ { "contentType": "any", "format": "qr" }]