Update a location and its company attributes

Update the location and replace its company attributes with the supplied values.

Updates a Location and upserts its Company Attributes. The provided customAttributesPayload replaces the entire set of attributes attached to the location: omit the field to leave existing attributes unchanged; provide an empty array ([]) to remove all attributes from the location. Values must match the attribute data type configured for the company attribute.

Path Params
uuid
required

UUID of the location to update

Body Params
locationPayload
object

Fields to update on the location. Uses the location schema; provide only the fields to change.

customAttributesPayload
array of objects

Replacement list of Company Attributes to attach to the location. Attribute may be referenced by UUID or key and value must match the attribute's configured data type. Omit the field to leave the location's existing attributes unchanged; provide an empty array ([]) to remove all attributes from the location.

customAttributesPayload
Responses
204

Updated Successfully

Language
Credentials
OAuth2
Missing 1 required scope
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json