文档中心 > API类目 > 本地生活API

alibaba.alsc.crm.customer.resetppw (重置支付密码)

重置支付密码

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
reset_pay_pwd_request ResetPayPasswdOpenReq 必须 系统自动生成
  • └ brand_id
  • String
  • 可选
  • 2019237627347
  • 品牌ID / 外部品牌id 2选1
  • └ operator_id
  • String
  • 可选
  • 2018093847834
  • 操作人ID
  • └ operator_name
  • String
  • 可选
  • 张三
  • 操作人名称
  • └ request_id
  • String
  • 必须
  • 3894733453465373456374
  • 请求ID,幂等处理
  • └ customer_id
  • String
  • 必须
  • 顾客ID
  • 20180988753656
  • └ out_brand_id
  • String
  • 可选
  • 1234
  • 外部品牌id

响应参数

名称 类型 示例值 描述
result CommonResult 接口结果
  • └ biz_success
  • Boolean
  • true
  • 调用结果
  • └ result
  • Boolean
  • true
  • 重置支付密码是否成功
  • └ result_code
  • String
  • 错误码
  • └ result_desc
  • String
  • 错误码简介
  • └ result_view
  • String
  • 错误码描述

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlibabaAlscCrmCustomerResetppwRequest req = new AlibabaAlscCrmCustomerResetppwRequest();
AlibabaAlscCrmCustomerResetppwRequest.ResetPayPasswdOpenReq obj1 = new AlibabaAlscCrmCustomerResetppwRequest.ResetPayPasswdOpenReq();
obj1.setBrandId("2019237627347");
obj1.setOperatorId("2018093847834");
obj1.setOperatorName("张三");
obj1.setRequestId("3894733453465373456374");
obj1.setCustomerId("顾客ID");
obj1.setOutBrandId("1234");
req.setResetPayPwdRequest(obj1);
AlibabaAlscCrmCustomerResetppwResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<alibaba_alsc_crm_customer_resetppw_response>
    <result>
        <biz_success>true</biz_success>
        <result>true</result>
        <result_code></result_code>
        <result_desc></result_desc>
        <result_view></result_view>
    </result>
</alibaba_alsc_crm_customer_resetppw_response>

异常示例

  • XML示例
  • JSON示例
<error_response>
    <code>50</code>
    <msg>Remote service error</msg>
    <sub_code>isv.invalid-parameter</sub_code>
    <sub_msg>非法参数</sub_msg>
</error_response>

错误码解释

错误码 错误描述 解决方案

API工具

如何获得此API

FAQ

返回
顶部