Update a warehouse

Through this EndPoint you can update the information of an existing warehouse.

You only need to send the parameters that need to be updated.

The parameter in the url warehouse_code is the code of the warehouse you want to update. You can check it here (field code)

Input parameters in the Body

The following information must be sent in the body of the request. Only send the parameters that need to be updated.

ParameterTypeDescription
descriptionTextDescription of the warehouse.
addressTextWarehouse address
stateTextState/Region
cityTextCity
countryTextCountry
zip_codeTextPost code
code_locationText

Code of the location-type asset to which the warehouse will be limited.

You can check it here.

(field

code

)

external_integrationBooleanTrue if it is an integrated warehouse, false otherwise (Default false)
activeBooleanActive or Inactive (Default true)
visible_to_allBooleanTrue if the warehouse will be visible to all, false otherwise (Default false)

Output parameters

ParameterTypeDescription
codeTextWarehouse code
descriptionTextDescription
addressTextAddress
stateTextState
countryTextCountry
cityTextCity
zip_codeTextZip Code
location_descriptionTextLocated in or is part of
external_integrationBooleanTrue if it is an integration warehouse, false otherwise
activeBooleanTrue if the warehouse is active, false otherwise
visible_to_allBooleanTrue if the warehouse is visible to all people regardless of location, false otherwise
allow_negative_stockBooleanTrue if negative stock is permitted, false otherwise
material_request_approvalBooleanTrue if material requisitions can be approved, false otherwise

Example:

Request: (PUT)https://app.fracttal.com/api/warehouses/FTTL-COP

{
	"city": "Poblado - Medellin",
	"active": false
}
{
    "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
}
Response

Language
LoadingLoading…