新增&修改客户信息

更新时间:2021-01-25 13:58:39

接口说明

新增&修改客户信息

基本信息

请求方式:POST

请求路径:

https://prod.open-api.mysre.cn/customer/save

请求参数

参数名 参数位置 参数类型 必填 默认值 示例 描述
tenant_code query string 租户 code
id body string 39f26c3c-d1c5-2886-0114-d70e64be2251 客户 ID
mobile_list body string 18600001111 客户手机
name body string 张三 客户姓名
id_type body string 身份证 证件类型
id_code body string 392425199308290001 证件号码
birthday body string 1991-09-01 客户出生年月
sex body string 性别
zip_code body string 邮编
corp_id body string 公司ID
card_no body string 会员卡号
join_date body string 入会日期
card_obtained body string 发卡日期
mailing_address body string 通讯地址
has_logged_before body string 是否登录过
first_login_time body string 首次登录时间
is_actived body string 是否已激活
active_time body string 激活时间
is_authenticated body string 是否已认证
authenticate_time body string 认证时间
modified_on body string 2020-11-01 16:40:55 修改时间

请求示例

[
    {
        "id":"39f26c3c-d1c5-2886-0114-d70e64be2251",
        "mobile_list":"18600001111",
        "name":"张三",
        "id_type":"身份证",
        "id_code":"392425199308290001",
        "birthday":"1991-09-01",
        "sex":"男",
        "zip_code":"",
        "corp_id":"",
        "card_no":"",
        "join_date":"",
        "card_obtained":"",
        "mailing_address":"",
        "has_logged_before":"",
        "first_login_time":"",
        "is_actived":"",
        "active_time":"",
        "is_authenticated":"",
        "authenticate_time":"",
        "modified_on":"2020-11-01 16:40:55"
    }
]

返回成功示例

 {
    "errcode": 0,
    "errMsg": "成功",
    "data": []
  }

返回参数说明(成功)

参数名 参数类型 描述
errcode number 错误码
errMsg string 错误提示信息
data array 数据集合

失败返回示例

{
    "errcode": 9000,
    "errMsg": "租户code不能为空",
    "data": []
}

返回参数说明(失败)

参数名 参数类型 描述
errcode number 错误码
errMsg string 错误提示信息
data array 数据集合

results matching ""

    No results matching ""