BUSCAR PRODUCTOS
GET/api/document/search-items?input=j1
Para buscar productos debe enviar por método get: Ejemplo:
- Método: GET
- URL: https://empresa1.demo3pro6.ibu.pe/api/document/search-items?input=cod_interno_o_descripcion
- TOKEN: HOHYgwd4atPalTxqi2IIspythpLAU7eP239oByfjk9VuveiOpfUTm4Yg0Szt
Responses
- 200
- 400
successful operation
- application/json
- application/xml
- Schema
- Example (from schema)
Schema
Array [
Array [
Array [
]
]
]
successboolean
Example:
true
data
object
items
object[]
idnumber
Example:
287
item_idnumber
Example:
287
namestring
Example:
apk
full_descriptionstring
Example:
j1 - apk
descriptionstring
Example:
apk
currency_type_idstring
Example:
PEN
internal_idstring
Example:
jairote
item_codestring
Example:
new_code
currency_type_symbolstring
Example:
S/
sale_unit_pricestring
Example:
500.00
purchase_unit_pricenumber
Example:
0
unit_type_idstring
Example:
NIU
sale_affectation_igv_type_idstring
Example:
10
purchase_affectation_igv_type_idstring
Example:
10
calculate_quantityboolean
Example:
false
has_igvboolean
Example:
true
is_setboolean
Example:
false
aux_quantitynumber
Example:
1
barcodestring
Example:
brand_idnumber
Example:
null
brandstring
Example:
category_idnumber
Example:
null
categorystring
Example:
stocknumber
Example:
0
imagestring
Example:
https://empresa1.demo3pro6.ibu.pe/logo/imagen-no-disponible.jpg
warehouses
object[]
warehouse_descriptionstring
Example:
Almacén - Oficina Principal
stockstring
Example:
0.0000
warehouse_idnumber
Example:
1
item_unit_typesundefined[]
has_iscboolean
Example:
false
system_isc_type_idnumber
Example:
null
percentage_iscstring
Example:
0.00
[
{
"success": true,
"data": {
"items": [
{
"id": 287,
"item_id": 287,
"name": "apk",
"full_description": "j1 - apk",
"description": "apk",
"currency_type_id": "PEN",
"internal_id": "jairote",
"item_code": "new_code",
"currency_type_symbol": "S/",
"sale_unit_price": "500.00",
"purchase_unit_price": 0,
"unit_type_id": "NIU",
"sale_affectation_igv_type_id": "10",
"purchase_affectation_igv_type_id": "10",
"calculate_quantity": false,
"has_igv": true,
"is_set": false,
"aux_quantity": 1,
"barcode": "",
"brand_id": null,
"brand": "",
"category_id": null,
"category": "",
"stock": 0,
"image": "https://empresa1.demo3pro6.ibu.pe/logo/imagen-no-disponible.jpg",
"warehouses": [
{
"warehouse_description": "Almacén - Oficina Principal",
"stock": "0.0000",
"warehouse_id": 1
}
],
"item_unit_types": [
null
],
"has_isc": false,
"system_isc_type_id": null,
"percentage_isc": "0.00"
}
]
}
}
]
- Schema
- Example (from schema)
Schema
Array [
Array [
Array [
]
]
]
successboolean
Example:
true
data
object
items
object[]
idnumber
Example:
287
item_idnumber
Example:
287
namestring
Example:
apk
full_descriptionstring
Example:
j1 - apk
descriptionstring
Example:
apk
currency_type_idstring
Example:
PEN
internal_idstring
Example:
jairote
item_codestring
Example:
new_code
currency_type_symbolstring
Example:
S/
sale_unit_pricestring
Example:
500.00
purchase_unit_pricenumber
Example:
0
unit_type_idstring
Example:
NIU
sale_affectation_igv_type_idstring
Example:
10
purchase_affectation_igv_type_idstring
Example:
10
calculate_quantityboolean
Example:
false
has_igvboolean
Example:
true
is_setboolean
Example:
false
aux_quantitynumber
Example:
1
barcodestring
Example:
brand_idnumber
Example:
null
brandstring
Example:
category_idnumber
Example:
null
categorystring
Example:
stocknumber
Example:
0
imagestring
Example:
https://empresa1.demo3pro6.ibu.pe/logo/imagen-no-disponible.jpg
warehouses
object[]
warehouse_descriptionstring
Example:
Almacén - Oficina Principal
stockstring
Example:
0.0000
warehouse_idnumber
Example:
1
item_unit_typesundefined[]
has_iscboolean
Example:
false
system_isc_type_idnumber
Example:
null
percentage_iscstring
Example:
0.00
<0>
<success>true</success>
<data>
<items>
<id>287</id>
<item_id>287</item_id>
<name>apk</name>
<full_description>j1 - apk</full_description>
<description>apk</description>
<currency_type_id>PEN</currency_type_id>
<internal_id>jairote</internal_id>
<item_code>new_code</item_code>
<currency_type_symbol>S/</currency_type_symbol>
<sale_unit_price>500.00</sale_unit_price>
<purchase_unit_price>0</purchase_unit_price>
<unit_type_id>NIU</unit_type_id>
<sale_affectation_igv_type_id>10</sale_affectation_igv_type_id>
<purchase_affectation_igv_type_id>10</purchase_affectation_igv_type_id>
<calculate_quantity>false</calculate_quantity>
<has_igv>true</has_igv>
<is_set>false</is_set>
<aux_quantity>1</aux_quantity>
<barcode></barcode>
<brand_id/>
<brand></brand>
<category_id/>
<category></category>
<stock>0</stock>
<image>https://empresa1.demo3pro6.ibu.pe/logo/imagen-no-disponible.jpg</image>
<warehouses>
<warehouse_description>Almacén - Oficina Principal</warehouse_description>
<stock>0.0000</stock>
<warehouse_id>1</warehouse_id>
</warehouses>
<item_unit_types/>
<has_isc>false</has_isc>
<system_isc_type_id/>
<percentage_isc>0.00</percentage_isc>
</items>
</data>
</0>
Invalid status value