I want to update "street2" in my contact record.
I'm calling "updateContact" like this:
$oiContact->updateContact($currentContactId, null, null, null, null, null, null,'My second line', null, null, null, null, null, null, null);
The request looks ok:
[{"street2":"My second line"}]
and the URI is perfect.
BUT the response I get is this:
{"contact":
{
"contactId":"67295434",
"prefix":"Mr.",
"firstName":"Joe",
"lastName":"Williams",
"suffix":"Jr.",
"street":"2365 Meridian Parkway",
"street2":"",
"city":"Durham",
"state":"NC",
"postalCode":"27713",
"phone":"8668039462",
"fax":"",
"business":"iContact",
"email":"joewilliams@icontact.com",
"createDate":"2013-03-30 21:22:28",
"bounceCount":"","status":"normal",
"interestedinseo":"1",
"wheredoyoulive":"New York"
},
"warnings":["Invalid field: 0"]
}
I suspect a bug but can't spot it. Am I missing something? Any ideas anyone?
I want to update "street2" in my contact record.
I'm calling "updateContact" like this:
$oiContact->updateContact($currentContactId, null, null, null, null, null, null,'My second line', null, null, null, null, null, null, null);
The request looks ok:
[{"street2":"My second line"}]
and the URI is perfect.
BUT the response I get is this:
{"contact":
{
"contactId":"67295434",
"prefix":"Mr.",
"firstName":"Joe",
"lastName":"Williams",
"suffix":"Jr.",
"street":"2365 Meridian Parkway",
"street2":"",
"city":"Durham",
"state":"NC",
"postalCode":"27713",
"phone":"8668039462",
"fax":"",
"business":"iContact",
"email":"joewilliams@icontact.com",
"createDate":"2013-03-30 21:22:28",
"bounceCount":"","status":"normal",
"interestedinseo":"1",
"wheredoyoulive":"New York"
},
"warnings":["Invalid field: 0"]
}
I suspect a bug but can't spot it. Am I missing something? Any ideas anyone?