如果我有联系电子邮件,是否可以使用infusionsoft gem从infusionsoft获取联系人的ID?
答案 0 :(得分:0)
selected_fields = %w(:id)
results = Infusionsoft.contact_find_by_email("johndoe@example.com", selected_fields)
此API调用的结果将是:
[{"id" => "9999"}]
请参阅https://developer.infusionsoft.com/docs/xml-rpc/#contact-search-for-a-contact-by-an-email-address