Through this EndPoint information of an existing warehouse can be updated.
Only the parameters that need to be updated should be sent
EndPoint
Method PUT
URL https://app.fracttal.com/api/warehouses/:code
:code = warehouse code
Input Parameters
Parameter | Type of field | Required | Description |
code | text | Yes | Warehouse code. |
Input Parameters in the Body
** Only send the parameters that need to be updated
Parameter | Type of field | Description |
description | text | Warehouse description. |
address | text | Warehouse address |
state | text | State/Region |
city | text | City |
country | text | Country |
zip_code | text | Zip code |
code_location | Text | Code of the location to which the warehouse will be limited |
external_integration | Boolean | True if it is an integrated warehouse, false otherwise (By default false) |
active | Boolean | Active or Inactive (By default true) |
visible_to_all | Boolean | True if the warehouse will be visible to everyone, false otherwise (By default false) |
Ouput Parameters
Parameter | Type of field | Description |
code | Text | Warehouse code |
description | Text | Description |
address | Text | Address |
state | Text | State |
country | Text | Country |
city | Text | City |
zip_code | Text | Zip code |
location_description | Text | Located or is part of |
external_integration | Boolean | True if it is an integration warehouse, false otherwise |
active | Boolean | True if the warehouse is active, false otherwise |
visible_to_all | Boolean | True if it is a warehouse that is visible to all people regardless of their location, false otherwise |
allow_negative_stock | Boolean | True if it allows negative stock, false otherwise |
material_request_approval | Boolean | True if it allows material requisitions to be approved, false otherwise |
Example:
Example Petition: https://app.fracttal.com/api/warehouses/FTTL-COP
Body:
{
"city": "Poblado - Medellin",
"active": false
}
Response:
{
"success": true,
"message": "200",
"data": {
"description": "Almacén Fracttal Colombia SAS",
"code": "FTTL-COP",
"address": "Cra 43 N 25 a 129",
"state": "Antioquia",
"country": "Colombia",
"city": "Poblado - Medellin",
"zip_code": "050021",
"location_description": "// ",
"external_integration": false,
"active": false,
"visible_to_all": false,
"allow_negative_stock": false,
"material_request_approval": false,
"prefix_po": null,
"suffix_po": null,
"folio_po": 1,
"prefix": null,
"folio": 1,
"suffix": null
},
"total": 1
}