更新顾客信息
名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
---|---|---|---|---|---|
param_customer_update_open_req | CustomerUpdateOpenReq | 必须 | 修改顾客参数 | ||
|
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
result | CommonResult | 接口结果 | |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 | TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret); AlibabaAlscCrmCustomerUpdateRequest req = new AlibabaAlscCrmCustomerUpdateRequest(); AlibabaAlscCrmCustomerUpdateRequest.CustomerUpdateOpenReq obj1 = new AlibabaAlscCrmCustomerUpdateRequest.CustomerUpdateOpenReq(); obj1.setAddress( "杭州市西湖区XXXXX" ); obj1.setBirthday( "2019-01-01" ); obj1.setBrandId( "2019283927423" ); obj1.setCustomerId( "201928293724" ); obj1.setEmail( "xxx@xxx.com" ); obj1.setExtInfo( "" ); obj1.setGender(1L); obj1.setInvoice( "杭州市XXXX" ); obj1.setLevelId( "201923728943" ); obj1.setMobile( "139XXXXXXXX" ); obj1.setName( "张三" ); obj1.setOperatorId( "20192823784" ); obj1.setOperatorName( "李四" ); obj1.setPhone( "0571-88889999" ); obj1.setRemark( "老顾客" ); obj1.setRequestId( "DHGFUGUFYG234DDF" ); obj1.setTagIds( "" 2019346387 "" ); obj1.setOutBrandId( "1234" ); obj1.setCustomerType(0L); req.setParamCustomerUpdateOpenReq(obj1); AlibabaAlscCrmCustomerUpdateResponse rsp = client.execute(req); System.out.println(rsp.getBody()); |
1 2 3 4 5 6 7 8 9 | < alibaba_alsc_crm_customer_update_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_update_response > |
1 2 3 4 5 6 | < error_response > < code >50</ code > < msg >Remote service error</ msg > < sub_code >isv.invalid-parameter</ sub_code > < sub_msg >非法参数</ sub_msg > </ error_response > |
错误码 | 错误描述 | 解决方案 |
---|