Skip to main content
PUT
Update location by ID
Body raw (json)

Authorizations

x-api-key
string
header
required

Path Parameters

locationId
string
required

Body

application/json
object_type
string
required

Object type which location is.

object_id
integer
required

Existing object id.

title
string
required
Maximum string length: 255
address_1
string | null
Maximum string length: 255
address_2
string | null
Maximum string length: 255
city
string | null
Maximum string length: 255
state
string | null
Maximum string length: 255
zip_code
string | null
Maximum string length: 255
notes
string | null
Maximum string length: 5000
is_main_location
boolean
is_primary_location
boolean
primary_customer_contact_id
integer

Existing customer contact id.

Response

Successful response

error
boolean

false when the request succeeds.

Example:

false

response
object

The updated record.