Body: <p>I'm trying to update a large list of zip codes.  Using the built-in updater, I have to break the files up repeatedly and it times out often.  I'm trying to learn to import from the command line, but can't seem to import with just a list of Contact IDs and Zip Codes.  This seems like the ideal way to match the zip codes to contacts but I get an error saying I have to include first_name, last_name, and email.  Is there a way to do this with just a CSV where one column is the Contact ID and the second column is the postal codes (and a third saying the 'contact_type')?</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2021-10-07T07:44:48.827Z
Comments.Text: Have you tried the API CSV Importer extension at https://civicrm.org/extensions/api-csv-import-gui
Comments.UserDisplayName: Andy Clark
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2021-10-07T14:26:10.933Z
Comments.Text: This is probably because Zip Codes are part of the address entity and not the contact entity so you would need the ID of the address. Taht being said teh API CSV importer may be a good choice as outlined by Andy.
Comments.UserDisplayName: Fabian
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2021-10-07T18:38:57.197Z
Comments.Text: how small are you having to break your files down to?
Comments.UserDisplayName: petednz - fuzion
Tags: <contacts><cli>
Title: Importing only postal codes for large number of contacts
ThreadText: # Importing only postal codes for large number of contacts
  
  (Asked by: username_0 on 2021-10-06)
  
  I'm trying to update a large list of zip codes. Using the built-in updater, I have to break the files up repeatedly and it times out often. I'm trying to learn to import from the command line, but can't seem to import with just a list of Contact IDs and Zip Codes. This seems like the ideal way to match the zip codes to contacts but I get an error saying I have to include first\_name, last\_name, and email. Is there a way to do this with just a CSV where one column is the Contact ID and the second column is the postal codes (and a third saying the 'contact\_type')?
  
  **Tags:** contacts, cli
  
  > **Comments:**
  > **username_1**: Have you tried the API CSV Importer extension at https://civicrm.org/extensions/api-csv-import-gui  
  > **username_2**: This is probably because Zip Codes are part of the address entity and not the contact entity so you would need the ID of the address. Taht being said teh API CSV importer may be a good choice as outlined by username_1.  
  > **username_3**: how small are you having to break your files down to?  
  
  ---
  
  ## 0 answers
  
  