CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Post-installation Setup and Configuration (Moderator: Dave Greenberg) »
  • using civicrm_contact_add with address
Pages: [1]

Author Topic: using civicrm_contact_add with address  (Read 981 times)

michaels23

  • I post occasionally
  • **
  • Posts: 77
  • Karma: 1
using civicrm_contact_add with address
February 01, 2009, 09:22:02 am
From what I can see on the contact API wiki, I should be able to add a contact with address data using a single call to civicrm_contact_add. I've only been able to make this work with email addresses, but never postal addresses.

Can anyone point me to an example or some other docs that explain how to create contacts WITH postal addresses?

TIA!

Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: using civicrm_contact_add with address
February 01, 2009, 09:41:59 am
You will have to use location api. Check http://wiki.civicrm.org/confluence/display/CRMDOC/Location+APIs

HTh

Kurund
Found this reply helpful? Support CiviCRM

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Post-installation Setup and Configuration (Moderator: Dave Greenberg) »
  • using civicrm_contact_add with address

This forum was archived on 2017-11-26.