GenerateEan13
[POST] .../v1/barcode/generateean13
Generates a new unique barcode in EAN13 format. Generate a unique EAN13 barcode value before calling Barcode/Add or composing a batch that creates the barcode. The method does not require a request body and returns result.value containing the generated EAN13 value without changing item data by itself. It does not perform an explicit permission check; generator or storage failures are returned as HTTP 200 ErrorResult.
Request Parameters
No request body.
Request Example
{}
Response Parameters
| Name | Type | Description |
|---|---|---|
| ok | Boolean | Indicates whether the request completed successfully. |
| result | EAN13 | Result object. |
Response Example
{
"ok": true,
"result": {
"value": 1
}
}