v50

latestOpenAPI 3.1.0raw.githubusercontent.com2026-03-211931021.7 MB
Locations

Update a Location

OAuth Scope

This endpoint requires the following OAuth scope manage_locations.

post/location/{uuid}.json

Path parameters

uuidstring uuid required

UUID of the Location

Request body

namestring required

Location's name

line1string

First line of the location's address. Contains the street number and street name.

line2string

Second line of the location's address. Used for additional address information such as building/suite numbers or street details.

line3string

Third line of the location's address. Used for additional address details when line1 and line2 are not sufficient.

citystring

Email Address

countrystring

Email Address

post_codestring

Email Address

phone_1string

Primary contact phone number for the location. Can include formatting characters.

statestring

Address State

lngnumber float

Longitude coordinate of the location in decimal degrees format. Used for geolocation and distance calculations. Expected range is between -180 and 180 degrees.

latnumber float

Latitude coordinate of the location in decimal degrees format. Used for geolocation and distance calculations. Expected range is between -90 and 90 degrees.

uuidstring uuid

Unique identifier for this record

Example request

{
  "uuid": "123e4567-566e-4aaf-8e39-23f948a5dbbb"
}

Response

Success - The record was updated successfully

errorCodenumber
messagestring

Example response

{
  "message": "OK"
}