get https://app.fracttal.com/api/warehouses
Through this EndPoint you can consult the list of existing warehouses in Fracttal.
code = Code of the warehouse to be consulted.
Input parameters
Parameter | Type | Required | Description |
---|---|---|---|
code | Text | Optional | Warehouse code to be consulted. |
is_integrated | Boolean | Optional | True, to consult the integrated warehouses and false otherwise. |
Output parameters
Parameter | Type | Location (id_type_item = 1) |
---|---|---|
name | Text | Warehouse code |
description | Text | Description |
id_warehouse | Integer | Warehouse Id where the item is located |
address | Text | Dirección |
prefix | Text | Prefijo |
folio | Text | Folio |
suffix | Text | Suffix |
state | Text | State |
country | Text | Country |
city | Text | City |
zip_code | Text | Zip Code |
latitude | Text | Latitude |
longitude | Text | longitude |
external_integration | Boolean | True if it is an integration store, false otherwise. |
Example
Petition: (GET) https://app.fracttal.com/api/warehouses/BOD-01
{
"success": true,
"mensaje": "200",
"data": {
"id": 156,
"id_company": 133,
"description": "AABODEGA PRUEBA",
"code": "BOD-01",
"address": "Avenida Las Industrias",
"prefix": "PRO",
"folio": 31,
"suffix": "MOV",
"prefix_po": "PRO",
"folio_po": 29,
"suffix_po": "OC",
"state": "Bío Bío",
"country": "Chile",
"city": "Los Ángeles",
"zip_code": "",
"latitude": "-72.35355377197267",
"longitude": "-37.39682345101678",
"mode": 0,
"external_integration": false,
"id_location": null,
"location_description": "// ",
"total_cost_stock": 27769079982.96,
"active": true,
"visible_to_all": false,
"allow_negative_stock": false,
"material_request_approval": false
},
"total": 1
}
Test It
Test It