Create Warehouse Location
POST/api/warehouse-locations
Create a storage location inside a warehouse.
Required scope:
warehouses:writeGrant this scope to your token under Settings → Developer → Personal Access Tokens.
Fields:
warehouse_id(required) — must be an existing warehouse.aisle(required, max 255).bay,shelf,bin(optional, max 255 each).is_default(optional boolean) — when true, this location becomes the warehouse's default and the default flag is automatically cleared from every other location in that warehouse.
Authentication: Requires Bearer token.
Request
Responses
- 201
- 401
- 403
- 422
- 429
Created
Response Headers
Content-Type
Unauthenticated — the bearer token is missing, revoked, expired, or malformed. Never retry automatically; fix the credential. See the Errors guide.
Forbidden — the token lacks a required scope, the endpoint is not available to API tokens, or the user behind the token lacks the permission. A human must adjust the token scopes or user permissions; do not retry.
Unprocessable Entity
Response Headers
Content-Type
Rate limited — platform limit is 1,000 requests/min; individual tokens may carry lower limits. Honor the Retry-After header before retrying. See the Rate Limits guide.