Through this EndPoint the list of existing warehouses in Fracttal can be consulted.

EndPoint

Method GET
URL https://app.fracttal.com/api/warehouses/:code

:code = Code of the warehouse that you want to consult

Input Parameters

Parameter

Type of field

Required

Description

code

text

Optional

Warehouse code to consult.

is_integrated

Boolean

Optional

True to query the integrated warehouses and false otherwise.

Output Parameters

Parameter

Type of field

Description

code

Text

Warehouse code

description

Text

Description

id_warehouse

Integer

Id warehouse where the item is

address

Text

Address

prefix

Text

Prefix

folio

Text

Invoice

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 warehouse, false otherwise

Example:
Example Petition: https://app.fracttal.com/api/warehouses_list/BOD-01

Example Response:

{ 
"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
}

Did this answer your question?