Product Barcode API

Managing product barcodes

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.

GET /api/product_barcode/get

Retrieve a single barcode record by identifier.

Query parameters

ParameterTypeRequiredDescription
idintIdentifier of the barcode record

Example request

GET /api/product_barcode/get?id=1
X-API-KEY: {your_api_key}
GET /api/product_barcode/list

Paginated list of product barcode records.

Query parameters

ParameterTypeRequiredDescription
list_countintMaximum number of records to return
list_offsetintPagination offset (default: 0)
list_conditionobjectObject of filtering conditions

Example request

GET /api/product_barcode/list?list_offset=0&list_count=100
X-API-KEY: {your_api_key}
POST /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 } }
POST /api/product_barcode/delete

Delete a barcode record by identifier.

POST fields

FieldTypeRequiredDescription
idintIdentifier of the barcode to delete

Example request

POST /api/product_barcode/delete
X-API-KEY: {your_api_key}
Content-Type: application/json

{ "id": 1 }

Get in touch with us

Interested in our software? Feel free to write to us!

Need help?

If you can't find the answer and need assistance

Create your account now,
pay later!

Try it free for 3 days, no risk, no obligation!