API Endpoints
Fracttal →

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

:code = warehouse code

Input parameters

ParameterTypeRequiredDescription
codeTextYesWarehouse code.

Input parameters in the Body

** Only send the parameters that need to be updated.

ParameterTypeDescription
descriptionTextDescription of the warehouse.
addressTextWarehouse address
stateTextState/Region
cityTextoCity
countryTextCountry
zip_codeTextPost code
code_locationTextCode of the location to which the warehouse is to be restricted
external_integrationBooleanTrue if it is an integrated store, false otherwise (Default false)
activeBooleanActive or Inactive (Default true)
visible_to_allBooleanTrue if the store 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 store, false otherwise
activeBooleanTrue if the store is active, false otherwise
visible_to_allBooleanTrue if it is a 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
}

Test It

Language