2 augustus 2024
Update stock location
PUT
https://api.pack.cloud/v1/warehouses/{warehouseId}/stock-locations/{stockLocationId}
Request
Path parameters
warehouseIdstring
stockLocationIdstring
Payload
stock_location_type_idstring
ID of the stock location type
pickableboolean
When true, stock in this location is available for picking
slotting_typestring
Slotting type (dynamic = unlink product when qty is zero)
Allowed values:dynamicstatic
Response
OK
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
created_atstring
Creation time of resource
updated_atstring
Latest update time of resource
OK
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
created_atstring
Creation time of resource
updated_atstring
Latest update time of resource
OK
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
created_atstring
Creation time of resource
updated_atstring
Latest update time of resource
OK
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
created_atstring
Creation time of resource
updated_atstring
Latest update time of resource
OK
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
created_atstring
Creation time of resource
updated_atstring
Latest update time of resource
OK
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
created_atstring
Creation time of resource
updated_atstring
Latest update time of resource