【发布时间】:2017-02-07 08:12:38
【问题描述】:
我正在使用 novaksolution 的Infusionsoft SDK 并尝试通过设置Company 和CompanyID 字段将联系人 添加到公司。
所有其他字段都在正常更新,但 CompanyID 字段始终返回为 0。
例如:
$contact = new Infusionsoft_Contact(1234);
$contact->CompanyID = 5678;
$contact->Company = 'Test Company Name';
// update other fields
$contact->save();
// Shows CompanyID = 5678
var_dump($contact);
$contact = new Infusionsoft_Contact(1234);
// All other fields updated; CompanyID is 0
var_dump($contact);
我是不是走错了路?我错过了什么?
【问题讨论】:
标签: php infusionsoft