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.

Create stock location type

POST

https://api.pack.cloud/v1/warehouses/{warehouseId}/stock-location-types

Request

Path parameters

warehouseIdstring

Payload

namestringrequired
colorstring
Hex color code
Example:#008000

Response

Created

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