Fx.crm

      Fx.crm:和CRM操作相关的API

1、产品上架下架-product.shelf

     定义:Fx.crm.product.shelf(<String 产品Id>,<Integer value>)     value=1 上架 value=2 下架

     data返回值类型:Map

     例:

Fx.crm.product.shelf("e1e145095f8142c891802fa36fcbd4c6",1) //上架产品
Fx.crm.product.shelf("e1e145095f8142c891802fa36fcbd4c6",2) //下架产品

2、线索-leads

     线索退回:Fx.crm.leads.giveBack(<String 线索Id>,<String 线索池Id>)

     data返回值类型:Map

     例:

Fx.crm.leads.giveBack("05f3f656feb9496abaa4cf50f1fa22ce", "85f454b044894f83a57e1bacfd2f1beb")

     线索转移:Fx.crm.leads.move(<String 线索Id>,<String 线索池Id>)

     data返回值类型:Map

     例:

Fx.crm.leads.move("05f3f656feb9496abaa4cf50f1fa22ce", "85f454b044894f83a57e1bacfd2f1beb")

3、客户-account

     客户转移公海:Fx.crm.account.move(<String 客户Id>, <String 公海Id>)

     data返回值类型:Map

     例:

Fx.crm.account.move("ad14bbbcede240a48dc2f65787a8763d","6c1a6a54617245fe90aae5a162eb191d")

     客户退回公海:Fx.crm.account.giveBack(<String 客户Id>, <String 公海Id>)

     data返回值类型:Map

     例:

Fx.crm.account.giveBack("ad14bbbcede240a48dc2f65787a8763d", "6c1a6a54617245fe90aae5a162eb191d")

     客户领取:Fx.crm.account.takeOut(<List 客户Ids>)

     data返回值类型:Map

     例:

Fx.crm.account.takeOut("ad14bbbcede240a48dc2f65787a8763d", "6c1a6a54617245fe90aae5a162eb191d")

results matching ""

    No results matching ""