Search EAN from Barcode
GET
/v1/products/search-from-barcode
const url = 'https://example.com/api/v1/products/search-from-barcode';const options = {method: 'GET', headers: {Authorization: '<Authorization>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://example.com/api/v1/products/search-from-barcode \ --header 'Authorization: <Authorization>'Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Query Parameters
Section titled “Query Parameters ” data
string
Barcode to be searched
Responses
Section titled “ Responses ”OK
Media type application/json
Array<object>
object
barcode
string
imageBase64
string
imageURL
string
item
object
description
string
entityTypeId
string
locationId
LocationID is only needed when ParentID refers to another item and the new entity is stored somewhere other than that item’s location.
string
manufacturer
string
modelNumber
Identifications — optional at create time; populated e.g. by the barcode product-search import flow (#1578).
string
name
required
string
parentId
string
quantity
number
tagIds
Edges
Array<string>
manufacturer
string
modelNumber
Identifications
string
notes
Extras
string
search_engine_name
string
Example generated
[ { "barcode": "example", "imageBase64": "example", "imageURL": "example", "item": { "description": "example", "entityTypeId": "example", "locationId": "example", "manufacturer": "example", "modelNumber": "example", "name": "example", "parentId": "example", "quantity": 1, "tagIds": [ "example" ] }, "manufacturer": "example", "modelNumber": "example", "notes": "example", "search_engine_name": "example" }]