Skip to main content
PATCH
Edit Location
This is a partial update endpoint — only include the fields you want to change. Omitted fields remain unchanged.

Authorizations

X-API-KEY
string
header
required

Path Parameters

id
string
required

Location ID

Body

application/json

Fields to update

location
string

Location name

Maximum string length: 150
address
string

Street address

Maximum string length: 150
city
string

City

Maximum string length: 75
zip
string

ZIP/postal code

Maximum string length: 10
color
string

Hex color code

Maximum string length: 7
location_comments
string

Additional comments

Maximum string length: 65535
timezone_id
integer

Timezone identifier

Required range: x <= 999
default_clients_id
string

Default client hashed ID

Maximum string length: 5
default_areas
string[]

Default area IDs

Response

OK

id
string

Location identifier

location
string

Location name

addy_street_number
string

Street address

addy_city
string

City

addy_zip
string

ZIP/postal code

location_comments
string | null

Additional comments

default
integer | null

Whether this is the default location (0 or 1)

Required range: 0 <= x <= 1
saved
integer | null

Whether the location is saved (0 or 1)

Required range: 0 <= x <= 1
color
string | null

Hex color code

Example:

"#DC136C"

timezone
object

Location timezone

companies_payroll_rulesets_id
string | null

Associated payroll ruleset ID

payroll_rule_display
string | null

Payroll rule display name

latitude
string | null

GPS latitude coordinate

longitude
string | null

GPS longitude coordinate

default_clients_id
string | null

Default client hashed ID

default_areas
string[]

Default area IDs