Base URL
https://{tenant}.logzi.com/api/product_barcode/
Every request returns a JSON response. On success result.code == 1, on error result.code == 0. The product barcode API is used to manage barcodes (EAN, ISBN, custom code, etc.) assigned to products.
/api/product_barcode/get
Retrieve a single barcode record by identifier.
Query parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
id | int | Identifier of the barcode record |
Example request
GET /api/product_barcode/get?id=1
X-API-KEY: {your_api_key}
/api/product_barcode/list
Paginated list of product barcode records.
Query parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
list_count | int | Maximum number of records to return | |
list_offset | int | Pagination offset (default: 0) | |
list_condition | object | Object of filtering conditions |
Example request
GET /api/product_barcode/list?list_offset=0&list_count=100
X-API-KEY: {your_api_key}
/api/product_barcode/save
Create or update a barcode record. If data.id is provided, an existing record is updated.
POST fields — data object
The data object must contain the barcode data (product identifier, barcode value, type).
Example request
POST /api/product_barcode/save
X-API-KEY: {your_api_key}
Content-Type: application/json
{ "data": { "id": 1 } }
/api/product_barcode/delete
Delete a barcode record by identifier.
POST fields
| Field | Type | Required | Description |
|---|---|---|---|
id | int | Identifier of the barcode to delete |
Example request
POST /api/product_barcode/delete
X-API-KEY: {your_api_key}
Content-Type: application/json
{ "id": 1 }
Create your account now,
pay later!