Integrations

Updating a contact through the API: do not assume omitted fields are preserved

A developer sends one changed field assuming updates are automatically partial.

2 min readLast updated November 4, 2026
A developer and colleague reviewing a connection between business systems

A developer sends one changed field assuming updates are automatically partial. The request may fail a required-field check or alter omitted fields because the endpoint contract differs from that assumption.

Read validation and persistence together

Taloo's current contact API save path still requires phone, including format and relevant uniqueness checks. A UUID in the route does not remove that requirement.

The persistence service also assigns name and email values from the request. Consequently, omission should not be treated as a guaranteed preserve instruction or this endpoint assumed to implement a universal partial update. Review inputs needed for the intended stored result.

Preserve source and reference ownership

Use the organisation's contact reference and reconcile written values against their authoritative source. Do not substitute an unrelated internal database identifier or assume changing credentials transfers records between organisations.

Concurrent staff edits need coordination so an older copy does not overwrite newer work. Reading and later resubmitting a record is not automatic conflict protection. Define field ownership and how changed values are recognised.

Test omission and explicit values

In a dedicated environment, test absent, empty and changed values, then read the actual record. Review names, email, phone and relevant fields or memberships instead of relying only on a processed message.

See null, empty and omitted fields when documenting the contract. Do not discover potentially destructive semantics against organisational production data; use separate authorised test records.

Provide a clear request example and resulting stored values, identifying written fields and responsibility. Small corrections then become known-effect operations instead of integrations appearing successful while silently removing information they never intended to change.