API Reference
Log In
API Reference

Update a location and replace its Company Attributes with the payload

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.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
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
Bearer
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json