Se puede consultar todos los productos creados hasta el momento mediante el método getProducts
Parámetro | Valor |
---|---|
Nombre servicio | getProducts |
Tipo método | POST |
URL | https://gorgeous-dust-0seusmuxapkp.vapor-farm-b1.com/api/auth/getProducts |
Content type | application/json |
Parámetro de búsqueda
Parámetro | Descripción |
---|---|
search | Parámetro de búsqueda, puede buscar por descripción del producto, código de producto y subpartida. |
POST/getProducts
Respuesta:{
Bloque de código |
---|
{ "status": |
...
{ "code": 200, |
...
"message": "Procesado con éxito", |
...
"data": |
...
{ "current_page": 1, |
...
"data": |
...
[ { "code_product": "0MTT1943", "typeProduct_id": "Insumos", "description_product": |
...
"0MTT1943 RETREFLECTIV SENSOR RF BOS18KF-PA-1QDC02", "convertion_factor_product": " |
...
1", |
...
"group_product": |
...
"REPUESTO", "subheading_id": |
...
"8422900000", "nit_qualified": " |
...
8020193394", |
...
"name_qualified": |
...
"ADAMA ANDINA B.V SUCURSAL COLOMBIA.", "businessUnit_id": |
...
"U", "unit_measurement": "Unidad o artículo 1", |
...
"nickname_qualified": |
...
null, "status_product": 1, |
...
"decimal_values_precision": "4 |
...
", "tracking": null }, { "code_product": "LH194321", "typeProduct_id": "Insumos", "description_product": |
...
"LH194321 PARAXONE 200 SL UPL BIDON X 1 LT", "convertion_factor_product": " |
...
1.08", "group_product": " |
...
UPL", |
...
"subheading_id": |
...
"3808931900", "nit_qualified": "8020193394", "name_qualified": "ADAMA ANDINA B.V SUCURSAL COLOMBIA.", "businessUnit_id": "U", "unit_measurement": "Unidad o artículo 1", "nickname_qualified": null, "status_product": 1, "decimal_values_precision": "4", "tracking": null } ], "first_page_url": "http://127.0.0.1:8000/api/auth/products/getProducts?page=1", "from": 1, "last_page": 1, "last_page_url": "http://127.0.0.1:8000/api/auth/products/getProducts?page=1", "links": [ { "url": null, "label": "« Anterior", "active": false }, { "url": "http://127.0.0.1:8000/api/auth/products/getProducts?page=1", "label": "1", "active": true }, { "url": null, "label": "Siguiente »", "active": false } ], "next_page_url": null, "path": "http://127.0.0.1:8000/api/auth/products/getProducts", "per_page": 25, "prev_page_url": null, "to": 2, "total": 2 } } } |