cURL
Records
Update record
Update an existing record by ID.
PATCH
cURL
Overview
Update a record by ID. Put the attributes you want to change insidedata.
Supplied values replace existing values, while omitted attributes retain their
values. To fill only missing values, use
Upsert record with update_if_empty.
Examples
SetUNIFY_API_KEY to your API key.
Update a company description
Update a company description
Replace the example IDs with records from
your workspace.
Update a person's job
Update a person's job
Update the person’s title and company together. This example references the
company by record ID:A successful response contains the updated record in
data. If the target
record does not exist, the API returns 404.Update a custom record
Update a custom record
For a custom object, use its API name in the URL and its attribute API names in
The attribute and any referenced select option must already exist.
data. For example, a product_user object with a plan attribute could use:Authorizations
Path Parameters
The API name of an object, e.g. company, person, opportunity, or a
custom object's API name.
Query Parameters
Validation mode for request data.
strict: Reject requests if any attribute is invalid or unrecognized.ignore_invalid: Ignore unknown attributes and omit invalid values for optional attributes. Reject requests with an invalid body structure or invalid required attributes.
Available options:
strict, ignore_invalid Body
application/json
Request body for updating a record.
The attribute values to update. Omitted attributes retain their existing values.