Create Location

Create a new location

POST https://api.xenia.team/v1/locations

Create new location

Headers

NameTypeDescription

Authorization*

JWT Token

Access token

Request Body

NameTypeDescription

name*

string

The name of location

description

string

parentId

string

id of parent location

{
    "id": "e77b6442-de60-401c-a173-0afc84a5747e",
    "name": "Main Branch",
    "description": "",
    "parentId": "",
    "createdAt": 1701743645
    "updatedAt": 2001743645
}

Last updated