Skip to main content

Customer relationship manager

Less than 1 minute

Customer relationship manager

Batch update customer for charge

  • Description

    batch update customer for charge

  • URI

    /wscrm-bus-api/open/customer/setPrincipalAsNull

  • Request method

    POST、Content-Type: application/json

  • Request params

AttributeTypeRequiredDescription
tenantIdLongyestenant id
userNameStringyesuser name (login account)
dataListyesdata
tokenStringyes
createTimeStringyesrequest time (yyyy-MM-dd HH:mm:ss)

data:

AttributeTypeRequiredDescription
-Stringyesfriend whatsapp

Example request:

{
  "tenantId": 1223,
  "userName": "yangkun",
  "token": "417a22f7713bdaca425a23e7958b51b7",
  "createTime": "2023-01-11 13:48:33",
  "data": [919161506154]
}
  • Response data

    AttributeTypeRequiredDescription
    codeintyescode
    messageStringnoDescription
    dataStringnodata

    data:

    AttributeTypeRequiredDescription
    isAllOkBooleanyesWhether all updates were successful
    totalintyeswhatsapp total
    successWhatsIdsList<String>yessuccess whatsId
    failWhatsIdsList<String>yeserror whatsId

Example:

{
  "code": 200,
  "message": "Success",
  "data": {
    "isAllOk": true,
    "total": 1,
    "successWhatsIds": ["919161506154"],
    "failWhatsIds": []
  }
}
Last update:
Contributors: zhangzhuangzhuang