The Rest API is deprecated and will be removed in the future. We recommend using the GraphQL API instead. Some endpoints may not be available anymore.
Update stock location type
PUT
https://api.pack.cloud/v1/warehouses/{warehouseId}/stock-location-types/{stockLocationTypeId}
Request
Path parameters
warehouseIdstring
stockLocationTypeIdstring
Payload
namestring
colorstring
Hex color code
Example:#008000
Response
OK
Body
idstring
ID of the stock location type
namestring
Name of the stock location type
Example:Overstock pallets
colorstring
Hex color code
Example:#008000
created_atstring
Creation time of resource
updated_atstring
Latest update time of resource
OK
Body
idstring
ID of the stock location type
namestring
Name of the stock location type
Example:Overstock pallets
colorstring
Hex color code
Example:#008000
created_atstring
Creation time of resource
updated_atstring
Latest update time of resource
OK
Body
idstring
ID of the stock location type
namestring
Name of the stock location type
Example:Overstock pallets
colorstring
Hex color code
Example:#008000
created_atstring
Creation time of resource
updated_atstring
Latest update time of resource
OK
Body
idstring
ID of the stock location type
namestring
Name of the stock location type
Example:Overstock pallets
colorstring
Hex color code
Example:#008000
created_atstring
Creation time of resource
updated_atstring
Latest update time of resource
OK
Body
idstring
ID of the stock location type
namestring
Name of the stock location type
Example:Overstock pallets
colorstring
Hex color code
Example:#008000
created_atstring
Creation time of resource
updated_atstring
Latest update time of resource
OK
Body
idstring
ID of the stock location type
namestring
Name of the stock location type
Example:Overstock pallets
colorstring
Hex color code
Example:#008000
created_atstring
Creation time of resource
updated_atstring
Latest update time of resource