Home → API Documentation → Miscellaneous API Calls → api/UpdateField

11.6. api/UpdateField

This API call updates one editable field on an existing contact, company or event record. Use api/ReturnFields to obtain the FieldGUID. For list fields, use api/ReturnFieldOptions to find the available options. 

 


 

Parameters To Submit

All parameters are required and cannot be empty.

Parameter Parameter Help
uid The ContactGUID, CompanyGUID or EventGUID of the record being updated.
FieldGUID The ContactGUID, CompanyGUID or EventGUID of the record being updated.
UpdateValue The new value, formatted for the field type.
API Key  

 

For a company field, uid must identify the company being updated. For an event field, it must identify the event.

 


 

Field Value Formats 

Field Type

Example UpdateValue

Notes

Text 

Example text 

Saves the supplied text. 

Boolean 

True or False 

True saves Y; False saves an empty value. 1 and 0 are also accepted.

Date 

21/10/2026 

An ISO date such as 2026-10-21 is also accepted.

DateTime 

21/10/2026 14:35:00 

An ISO value such as 2026-10-21T14:35:00 is also accepted. 

Number / Decimal 

123 / 1234.56 

Submit the value as a string. 

Email / Hyperlink 

test@example.com / https://example.com 

Saves the supplied value. 

HTML Editor 

<p>Example <strong>text</strong></p> 

Submit the HTML as a string. 

Dropdown - Single Select 

An existing option’s stored value

Use the value expected by the CRM field.

Dropdown - Multi Select 

MultiItem1¬MultiItem2¬ 

Separate options with ¬, including after the last option.

 

For Multi Select fields, use existing option values. The procedure adds a missing final ¬ and also accepts comma-separated input when no ¬ separator is supplied. 

 


 

Return Response

This API call will return a Boolean of True if successful.

Example response envelope after decoding the outer JSON string: 

{ 
  "ResponseCode": "200", 
  "ResponseType": "Boolean", 
  "ResponseMessage": "True" 
} 

A ResponseMessage of "False" means no matching record was updated. When updating a configured contact address field, the call can create the missing address of that type. Custom-data records must already exist. 

If an update fails, the response contains ResponseCode "500", ResponseType "Error" and an explanation in ResponseMessage. Check the response envelope even when the HTTP status is 200 OK.

This page was: Helpful | Not Helpful