【问题标题】:Search by custom attribute in Intercom ruby gem在 Intercom ruby​​ gem 中按自定义属性搜索
【发布时间】:2021-06-21 02:58:19
【问题描述】:

我正在使用对讲机 ruby​​ gem。我的company 回复之一如下所示:

 @company_id="648",
 @created_at=1578937499,
 @custom_attributes=
  {"cname"=>nil,
   "contacts"=>1,
   "ein"=>"xyz123"
  }

为了通过 company_id 进行搜索,我可以这样做:intercom.companies.find(company_id: 648)(参考:https://github.com/intercom/intercom-ruby#search-for-customers)。但是,我想通过自定义属性ein 之一进行搜索。有可能吗?

【问题讨论】:

    标签: ruby intercom


    【解决方案1】:

    目前我认为这是不可能的

    从最新的 API(现在是 2.3 版)开始,只能搜索联系人(用户/潜在客户)https://developers.intercom.com/intercom-api-reference/reference#search-for-contacts

    看起来只能通过以下方式检索公司

    【讨论】:

      猜你喜欢
      • 2019-04-16
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2015-09-03
      • 1970-01-01
      相关资源
      最近更新 更多