The value parameter is required. It allows you to specify the value that you want to encode as a barcode. The value you provide must be compatible with the barcode type you request.


The UPC-A barcode type only allows numeric values to be encoded. The following example will generate an error because we're providing non-numeric characters in the value parameter:


The request above will generate an error response like this:

                {"errors":{"status":500,"title":"Barcode Error","detail":"Input code must be a number"}}

For a complete list of supported barcode types, checkout the Barcode Types section.