Update many contacts at once
batch_update_contactsUpdate up to 200 Google Contacts in one batch request, replacing specified fields for each contact. Provide the same field groups for all entries to prevent omitted fields from being cleared.
Instructions
Updates up to 200 contacts in one call (People API people:batchUpdateContacts). Each entry names a contact (resource_name, optional etag — missing etags are auto-fetched in ONE extra batchGet read) plus the same normalized fields as update_contact. CAUTION — the API applies ONE shared update mask to the whole batch, computed here as the union of every entry's provided field groups: a group that one entry provides and another omits is CLEARED on the omitting entry. Safest is to give every entry the same set of fields; each provided group replaces its stored group as a whole, exactly like update_contact. Atomic per request; a stale etag fails the whole batch with 400 — re-read and retry deliberately, never blindly.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| updates | Yes | The updates (1..200) — give every entry the same set of contact fields (shared mask). | |
| read_mask | No | Person fields to return (default names, emailAddresses, phoneNumbers, organizations, memberships). Only masked fields come back — an absent field may be unmasked, not empty. |