Fields

Set Field Value

Write a custom column value to a single contact or company row.

Resolves column_id to the underlying column_name_db from dynamic_columns, then performs an INSERT ... ON CONFLICT DO UPDATE against mashup_contact_attrs (or mashup_company_attrs for companies).

Pass value=null (or omit it) to clear the column for that row.

Notes: - The column must exist in dynamic_columns (not soft-deleted) for this org and the matching entity. Returns 404 otherwise. - The record (contact or company) must exist - the underlying foreign key constraint enforces this; a missing record yields a 404. - Custom column writes do NOT trigger view recreation; only column creation does (see CdpMashupContactRepository.create_column).

patch/fields/{column_id}/values

Request

  • Base URL: https://be.graph8.com/api/v1
  • URL: https://be.graph8.com/api/v1/fields/{column_id}/values
  • Auth: HTTP bearer

Path parameters

column_idinteger required

Column ID from g8_list_fields or g8_create_field

Headers

Authorizationstring nullable
X-Target-Org-Idstring nullable

Request body

record_idinteger required

Contact ID (entity='contacts') or company ID (entity='companies')

valuestring nullable

Value to write into the custom column. Pass null (or omit) to clear the field.

entitystring

Target entity: 'contacts' or 'companies'

Response

Successful Response

Changes

No recorded changes to this operation across all 2 revisions of this API.