Skip to main content
PATCH
Update Location

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Headers

X-Org-Id
string | null

Path Parameters

location_id
string
required

Body

application/json
locationType
string | null
linkedEntityType
string | null
linkedEntityId
string | null
code
string | null
name
string | null
address
string | null
city
string | null
country
string | null
contactName
string | null
contactPhone
string | null
latitude
number | null
longitude
number | null
isActive
boolean | null

Response

Successful Response

id
string
required
locationType
string
required
name
string
required
linkedEntityType
string | null
linkedEntityId
string | null
code
string | null
address
string | null
city
string | null
country
string | null
contactName
string | null
contactPhone
string | null
latitude
number | null
longitude
number | null
isActive
boolean
default:true
createdAt
string | null
updatedAt
string | null