查询顾客详情
名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
---|---|---|---|---|---|
param_customer_id_query_open_req | CustomerIdQueryOpenReq | 可选 | 顾客详情查询条件 | ||
|
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
result | CommonResult | 接口结果 | |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret); AlibabaAlscCrmCustomerGetRequest req = new AlibabaAlscCrmCustomerGetRequest(); AlibabaAlscCrmCustomerGetRequest.CustomerIdQueryOpenReq obj1 = new AlibabaAlscCrmCustomerGetRequest.CustomerIdQueryOpenReq(); obj1.setBrandId( "20193947389475" ); obj1.setCustomerId( "20183846378465" ); obj1.setOptions( "" CARD "," RECHARGE "" ); obj1.setShopId( "201923878645" ); obj1.setMobile( "18900000000" ); obj1.setPhysicalCardId( "12345678900998776" ); obj1.setCardId( "123455678987655" ); obj1.setOutBrandId( "123" ); obj1.setOutShopId( "12324" ); obj1.setWechatOpenId( "2343" ); obj1.setWechatAppId( "544" ); obj1.setPhone( "1343" ); obj1.setAlipayId( "2323" ); req.setParamCustomerIdQueryOpenReq(obj1); AlibabaAlscCrmCustomerGetResponse rsp = client.execute(req); System.out.println(rsp.getBody()); |
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 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 | < alibaba_alsc_crm_customer_get_response > < result > < biz_success >true</ biz_success > < result > < card_open_info_list > < card_open_info > < card_id >2019387834657345</ card_id > < card_template_id >201934753467865</ card_template_id > < card_type >MEMBER</ card_type > < deleted >false</ deleted > < gmt_create >2019-01-01 23:59:59</ gmt_create > < gmt_modified >2019-01-01 23:59:59</ gmt_modified > < open_operator_id >2019394398475</ open_operator_id > < open_operator_name >张三</ open_operator_name > < open_shop_id >20193847389465734</ open_shop_id > < open_shop_name >杭州XXX门店</ open_shop_name > < open_time >2019-01-01 23:59:59</ open_time > < physical_cards > < physical_card_open_info > < bind_operator_id >12344</ bind_operator_id > < bind_shop_id >23444</ bind_shop_id > < bind_time >2022-10-01</ bind_time > < card_id >234556677</ card_id > < card_template_id >3456777456</ card_template_id > < card_type >MEMBER</ card_type > < physical_card_id >2342455355</ physical_card_id > < publish_id >2355642344</ publish_id > < status >SOLD</ status > < card_template_name >超值卡</ card_template_name > </ physical_card_open_info > </ physical_cards > < accounts > < account_open_info > < account_id >223445662</ account_id > < account_type >""</ account_type > < status >""</ status > < balance >1</ balance > < real >1</ real > < gift >1</ gift > < pre >1</ pre > < currency >RMB</ currency > < total_real >1</ total_real > < total_gift >1</ total_gift > < total_pre >1</ total_pre > </ account_open_info > </ accounts > < status >SOLD</ status > < expire_start >2023-01-01 11:11:11</ expire_start > < expire_end >2023-01-01 11:11:11</ expire_end > </ card_open_info > </ card_open_info_list > < customer_open_info > < address >杭州市西湖区XXXX阶段</ address > < avg_consume >12300</ avg_consume > < birthday >2019-01-01 00:00:00</ birthday > < channel >mobile_app</ channel > < consume_amount >12837863700</ consume_amount > < consume_num >145</ consume_num > < create_by >20183465783465</ create_by > < customer_id >201834378465</ customer_id > < customer_store_id >201934673465</ customer_store_id > < customer_time >2019-01-01 23:59:59</ customer_time > < customer_type >0</ customer_type > < deleted >false</ deleted > < email >xx@xx.com</ email > < follow_wx_time >2019-01-01 23:59:59</ follow_wx_time > < gender >0</ gender > < gmt_create >2019-01-01 23:59:59</ gmt_create > < gmt_modified >2019-01-01 23:59:59</ gmt_modified > < invoice >杭州市西湖区</ invoice > < last_consume_time >2019-01-01 23:59:59</ last_consume_time > < level_desc >VIP1</ level_desc > < level_id >20109283197</ level_id > < level_no >1</ level_no > < member_store_id >203489457384</ member_store_id > < member_time >2019-01-01 23:59:59</ member_time > < mobile >129XXXXXXX</ mobile > < name >王五</ name > < phone >0571-11112222</ phone > < remark >ceshi</ remark > < state >1</ state > < tags > < string >[]</ string > </ tags > < update_by >2019237428364</ update_by > < growth >100</ growth > < has_password >false</ has_password > < customer_out_info_list > < customer_out_info > < out_type >MOBILE</ out_type > < out_id >13555555555</ out_id > </ customer_out_info > </ customer_out_info_list > </ customer_open_info > < customer_voucher_full_open_info_list > < customer_voucher_full_open_info > < amount >10000</ amount > < customer_id >201298927384</ customer_id > < end_time >2019-01-01 23:59:59</ end_time > < gmt_created >2019-01-01 23:59:59</ gmt_created > < shop_id >2012893784</ shop_id > < start_fee >10000</ start_fee > < start_time >2019-01-01 23:59:59</ start_time > < status >NORMAL</ status > < title >5元代金券</ title > < voucher_id >2019734836475</ voucher_id > < voucher_type >GIFT</ voucher_type > </ customer_voucher_full_open_info > </ customer_voucher_full_open_info_list > < point_account > < available_point >23972836</ available_point > < customer_id >20193893475</ customer_id > < freeze_point >0</ freeze_point > < total_expired_point >0</ total_expired_point > < total_point >123123</ total_point > < total_used_point >345345345</ total_used_point > </ point_account > </ result > < result_code >结果码</ result_code > < result_desc >结果描述</ result_desc > < result_view >错误结果显示</ result_view > </ result > </ alibaba_alsc_crm_customer_get_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 > |
错误码 | 错误描述 | 解决方案 |
---|