Skip to main content
POST
Create Barcode

Headers

TENANT
string
required

The tenant you are making this request on behalf of

API-KEY
string
required

Your api key

Path Parameters

stock_id
string
required

Body

application/json
barcodeType
enum<string>
required

Type of barcode

Available options:
UPC_A,
EAN_13,
GS1_DATAMATRIX,
GS1_128,
ITF_14,
CODE_128,
QR_CODE,
INTERNAL
barcodeValue
string
required

The actual barcode string

description
string | null

Human label for the barcode

supplierToStockUomId
string | null

Optional packaging-level link

Response

Successful Response

barcodeType
enum<string>
required

Type of barcode

Available options:
UPC_A,
EAN_13,
GS1_DATAMATRIX,
GS1_128,
ITF_14,
CODE_128,
QR_CODE,
INTERNAL
barcodeValue
string
required

The actual barcode string

id
string
required

Unique identifier

stockId
string
required

ID of the stock this barcode identifies

description
string | null

Human label for the barcode

supplierToStockUomId
string | null

Optional packaging-level link

createdDate
string<date-time> | null
updatedDate
string<date-time> | null
isArchived
boolean
default:false