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

Parameter

Type

Required

Description

code

Text

Yes

Warehouse code.

Input parameters in the Body

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

Parameter

Type

Description

description

Text

Description of the warehouse.

address

Text

Warehouse address

state

Text

State/Region

city

Texto

City

country

Text

Country

zip_code

Text

Post code

code_location

Text

Code of the location to which the warehouse is to be restricted

external_integration

Boolean

True if it is an integrated store, false otherwise (Default false)

active

Boolean

Active or Inactive (Default true)

visible_to_all

Boolean

True if the store will be visible to all, false otherwise (Default false)

Output parameters

Parameter

Type

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 in or is part of

external_integration

Boolean

True if it is an integration store, false otherwise

active

Boolean

True if the store is active, false otherwise

visible_to_all

Boolean

True if it is a warehouse is visible to all people regardless of location, false otherwise

allow_negative_stock

Boolean

True if negative stock is permitted, false otherwise

material_request_approval

Boolean

True 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