Create Barcode
POST/api/v1/barcode
Create Barcode
Request​
- application/json
Body
array
Array [
]
Possible values: [po
, item
, packaging
]
The type of entity.
Barcode
required when entityType is po or item
required when entityType is packaging
required when entityType is packaging
define this if this is assortment
Possible values: [Generic
, UPC-A
, UPC-E
, EAN-8
, EAN-13
, UPC-EAN
, Code-39
, Code-93
, Code-128
, Codebar
, ITF
, QRCode
, DataMatrix
, Aztec
, PDF417
, MaxiCode
, RSS-14
, RSS-Expanded
]
Default value: Generic
Barcode format. If not send, it will use default value.
Responses​
- 200
- 207
- 400
- 401
- 429
- 500
All Items are created
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
Possible values: [po
, item
, packaging
]
The type of entity.
required when entityType is po or item
required when entityType is packaging
required when entityType is packaging
define this if this is assortment
Possible values: [Generic
, UPC-A
, UPC-E
, EAN-8
, EAN-13
, UPC-EAN
, Code-39
, Code-93
, Code-128
, Codebar
, ITF
, QRCode
, DataMatrix
, Aztec
, PDF417
, MaxiCode
, RSS-14
, RSS-Expanded
]
Default value: Generic
Barcode format. If not send, it will use default value.
status
object
200 for success, 400 for failure
Success or failure message
[
{
"entityType": "po",
"customId": "string",
"poCustomId": "string",
"itemCustomId": "string",
"assortmentCustomId": "string",
"format": "Generic",
"status": {
"code": 0,
"message": "string"
}
}
]
Only some items are created
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
Possible values: [po
, item
, packaging
]
The type of entity.
required when entityType is po or item
required when entityType is packaging
required when entityType is packaging
define this if this is assortment
Possible values: [Generic
, UPC-A
, UPC-E
, EAN-8
, EAN-13
, UPC-EAN
, Code-39
, Code-93
, Code-128
, Codebar
, ITF
, QRCode
, DataMatrix
, Aztec
, PDF417
, MaxiCode
, RSS-14
, RSS-Expanded
]
Default value: Generic
Barcode format. If not send, it will use default value.
status
object
200 for success, 400 for failure
Success or failure message
[
{
"entityType": "po",
"customId": "string",
"poCustomId": "string",
"itemCustomId": "string",
"assortmentCustomId": "string",
"format": "Generic",
"status": {
"code": 0,
"message": "string"
}
}
]
Bad request
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
Possible values: [po
, item
, packaging
]
The type of entity.
required when entityType is po or item
required when entityType is packaging
required when entityType is packaging
define this if this is assortment
Possible values: [Generic
, UPC-A
, UPC-E
, EAN-8
, EAN-13
, UPC-EAN
, Code-39
, Code-93
, Code-128
, Codebar
, ITF
, QRCode
, DataMatrix
, Aztec
, PDF417
, MaxiCode
, RSS-14
, RSS-Expanded
]
Default value: Generic
Barcode format. If not send, it will use default value.
status
object
200 for success, 400 for failure
Success or failure message
[
{
"entityType": "po",
"customId": "string",
"poCustomId": "string",
"itemCustomId": "string",
"assortmentCustomId": "string",
"format": "Generic",
"status": {
"code": 0,
"message": "string"
}
}
]
Unauthorized
- application/json
- Schema
- Example (from schema)
Schema
{
"errorCode": "Generic",
"message": "Cannot retrieve session data because of expired token"
}
Rate-limiting Error
- application/json
- Schema
- Example (from schema)
Schema
{
"errorCode": "Generic",
"message": "Too many requests"
}
Internal Error
- application/json
- Schema
- Example (from schema)
Schema
{
"errorCode": "Generic",
"errors": {
"system": [
"Internal error detail message"
]
},
"message": "Internal server error"
}