title: People API - Update Contacts - How to update individual fields instead of all (e.g. phoneNumbers) using GAS
body: <p>in order to update my contacts phone numbers, I am using People API with following code:</p>
  <pre><code>function updateContact(contactRn, contactEtag, contactPhone){
  
    var bodyRequest = {
      &quot;resourceName&quot;: contactRn,
      &quot;etag&quot;: contactEtag,
  
      &quot;phoneNumbers&quot;: [{
        'value': contactPhone,
        'Type': 'googleVoice' }]
     };
      
     People.People.updateContact(bodyRequest, contactRn, {updatePersonFields: &quot;phoneNumbers&quot;});
   }
  </code></pre>
  <p>It works. It updates the phone number of the contact.</p>
  <p>Unfortunately, it also overwrites all other phone numbers associated with this contact, which means it deletes them.</p>
  <p>Can you tell me how to update specific phone numbers only (like the contacts google voice number), using GAS?</p>
  <p>Thanks, Flo</p>