Locations
Create a new location
Adds a new location record to the database.
Adds a new location record to the database.
AuthorizationBearer <token>
In: header
Request Body
application/json
The new Location resource
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X POST "https://api.skalasuite.com/api/locations" \ -H "Content-Type: application/json" \ -d '{ "name": "string" }'{
"id": 0,
"name": "string",
"legalName": "string",
"address": "/entity/1",
"functions": [
{
"id": 0,
"name": "string",
"functions": "string"
}
],
"isActive": true,
"isDefault": true,
"storageBins": [
{
"id": 0,
"name": "string"
}
]
}Empty
Empty
