Skip to main content
POST
/
locations
{
  "id": "<string>",
  "name": "<string>",
  "parentLocationId": "<string>"
}

Body

application/json
name
string
required

The name of the location

parentLocationId
string | null

The id of the parent location

Response

The location has been successfully created

id
string
required

The id of the location

name
string
required

The name of the location

parentLocationId
string | null

The id of the parent location