Update a location

PUT {{baseUrl}}/v1/locations/:location_id

Update a location.

scope: companies.write

Request Body

{"version"=>"<string>", "phone_number"=>"<string>", "street_1"=>"<string>", "street_2"=>"<string>", "city"=>"<string>", "state"=>"<string>", "zip"=>"<string>", "country"=>"<string>", "mailing_address"=>"<boolean>", "filing_address"=>"<boolean>"}

HEADERS

KeyDatatypeRequiredDescription
X-Gusto-API-VersionstringDetermines the date-based API version associated with your API call. If none is provided, your application's minimum API version is used.
Content-Typestring
Acceptstring

RESPONSES

status: OK

{&quot;company_uuid&quot;:&quot;6bf7807c-a5a0-4f4d-b2e7-3fbb4b2299fb&quot;,&quot;version&quot;:&quot;7d9753112507b9dda4fb97910f39b06e&quot;,&quot;phone_number&quot;:&quot;5825710808&quot;,&quot;uuid&quot;:&quot;04552eb9-7829-4b18-ae96-6983552948df&quot;,&quot;street_1&quot;:&quot;412 Kiera Stravenue&quot;,&quot;street_2&quot;:&quot;Suite 391&quot;,&quot;city&quot;:&quot;San Francisco&quot;,&quot;state&quot;:&quot;CA&quot;,&quot;zip&quot;:&quot;94107&quot;,&quot;country&quot;:&quot;USA&quot;,&quot;active&quot;:true,&quot;filing_address&quot;:false,&quot;mailing_address&quot;:false,&quot;created_at&quot;:&quot;2023-09-12T16:42:25.000-07:00&quot;,&quot;updated_at&quot;:&quot;2023-09-12T16:42:25.000-07:00&quot;}