curl --silent --show-error --fail-with-body --request POST \
--url 'https://api.stateset.com/api/v1/warehouse-locations' \
--header "Authorization: Bearer $STATESET_API_KEY" \
--header 'Content-Type: application/json' \
--data '{
"aisle": "string",
"bin": "string",
"code": "string",
"is_pickable": true,
"is_receivable": true,
"level": "string",
"location_type": "string",
"max_volume_m3": "string",
"max_weight_kg": "string",
"rack": "string",
"warehouse_id": 1001,
"zone": "string"
}'
{
"aisle": "string",
"bin": "string",
"code": "string",
"created_at": "2026-08-31T14:22:05Z",
"id": 1001,
"is_active": true,
"is_pickable": true,
"is_receivable": true,
"level": "string",
"location_type": "string",
"rack": "string",
"warehouse_id": 1001,
"zone": "string"
}
Create a location
Create a location
POST
/
api
/
v1
/
warehouse-locations
curl --silent --show-error --fail-with-body --request POST \
--url 'https://api.stateset.com/api/v1/warehouse-locations' \
--header "Authorization: Bearer $STATESET_API_KEY" \
--header 'Content-Type: application/json' \
--data '{
"aisle": "string",
"bin": "string",
"code": "string",
"is_pickable": true,
"is_receivable": true,
"level": "string",
"location_type": "string",
"max_volume_m3": "string",
"max_weight_kg": "string",
"rack": "string",
"warehouse_id": 1001,
"zone": "string"
}'
{
"aisle": "string",
"bin": "string",
"code": "string",
"created_at": "2026-08-31T14:22:05Z",
"id": 1001,
"is_active": true,
"is_pickable": true,
"is_receivable": true,
"level": "string",
"location_type": "string",
"rack": "string",
"warehouse_id": 1001,
"zone": "string"
}
Confirm your deployment before running this request. This page describes an API contract;
a published reference does not establish hosted availability. Check the dated
host report and obtain your deployment URL and credentials.
Replace the example host if your provisioned service uses a different URL.
Request body
CreateLocationRequest
string,null
string,null
string,null
boolean,null
boolean,null
string,null
string,null
One of
bulk, pick, staging, receiving, shipping, quarantine, returns, production, packing, cross_dock.string,null
Decimal maximum volume (m3) as a string.
string,null
Decimal maximum weight (kg) as a string.
string,null
integer (int32)
required
string,null
Response
LocationResponse
string,null
string,null
string
required
string
required
integer (int32)
required
boolean
required
boolean
required
boolean
required
string,null
string
required
string,null
integer (int32)
required
string,null
Status codes
| Code | Meaning |
|---|---|
201 | — |
400 | — |
Using this contract
Read the source OpenAPI document for declared schemas and alternatives. This page also includes documented corrections from the spec overlays. Example IDs and values are illustrative; replace them with records from your workspace.curl --silent --show-error --fail-with-body --request POST \
--url 'https://api.stateset.com/api/v1/warehouse-locations' \
--header "Authorization: Bearer $STATESET_API_KEY" \
--header 'Content-Type: application/json' \
--data '{
"aisle": "string",
"bin": "string",
"code": "string",
"is_pickable": true,
"is_receivable": true,
"level": "string",
"location_type": "string",
"max_volume_m3": "string",
"max_weight_kg": "string",
"rack": "string",
"warehouse_id": 1001,
"zone": "string"
}'
{
"aisle": "string",
"bin": "string",
"code": "string",
"created_at": "2026-08-31T14:22:05Z",
"id": 1001,
"is_active": true,
"is_pickable": true,
"is_receivable": true,
"level": "string",
"location_type": "string",
"rack": "string",
"warehouse_id": 1001,
"zone": "string"
}
Last modified on September 21, 2026