Create stock locations tree

POST

https://api.pack.cloud/v1/warehouses/{warehouseId}/stock-locations/tree

Request

Path parameters

warehouseIdstring

Payload

stock_location_type_idstringrequired
ID of the stock location type
parent_idstringnull
ID of the parent stock location
child_separatorstring
Separator to use when creating sub locations
Example:.
partstringrequired
Alphanumeric part of the current level of the location name
Example:02
pickablebooleanrequired
When true, stock in this location is available for picking
slotting_typestringrequired
Slotting type (dynamic = unlink product when qty is zero)
Allowed values:dynamicstatic
product_limitintegernull
The number of products allowed to be stocked on this location. Use null for unlimited

Response

Created

Body

idstring
ID of the stock location
parent_idstringnull
ID of the parent stock location
stock_location_type_idstring
ID of the stock location type
namestring
Human readable location code
Example:A.02.05.B
slotting_typestring
Slotting type (dynamic = unlink product when qty is zero)
Allowed values:dynamicstatic
pickableboolean
When true, stock in this location is available for picking
sort_pathstring
Sort safe path
Example:A.000002.000005.B
product_limitintegernull
The number of products allowed to be stocked on this location. Use null for unlimited
created_atstring
Creation time of resource
updated_atstring
Latest update time of resource

Meld je aan voor onze nieuwsbrief

Blijf op de hoogte van de laatste ontwikkelingen en trends op het gebied van logistiek en ecommerce.