买家积分信息
名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
---|---|---|---|---|---|
point_code | String | 必须 | PG_POINT | 积分编码:PG_POINT | |
buyer_nick | String | 必须 | demo | 买家NICK |
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
buyer_point | BuyerPointDto | buyerPoint | |
|
1 2 3 4 5 6 | TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret); CrmServicePointBuyerpointRequest req = new CrmServicePointBuyerpointRequest(); req.setPointCode( "PG_POINT" ); req.setBuyerNick( "demo" ); CrmServicePointBuyerpointResponse rsp = client.execute(req, sessionKey); System.out.println(rsp.getBody()); |
1 2 3 4 5 6 7 8 9 10 11 | < crm_service_point_buyerpoint_response > < buyer_point > < gmt_modified >2015-08-16 15:01:29</ gmt_modified > < total_quantity >123</ total_quantity > < point_code >PG_POINT</ point_code > < gmt_create >2015-08-16 15:01:29</ gmt_create > < used_quantity >123</ used_quantity > < quantity >123</ quantity > < pre_quantity >123</ pre_quantity > </ buyer_point > </ crm_service_point_buyerpoint_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 > |
错误码 | 错误描述 | 解决方案 |
---|---|---|
isv.invalid-buyernick-null | buyer nick 为null | 指定buyer nick |
isv.invalid-sellerid-null | seller_id为null | 指定seller_id的值 |
isv.invalid-appkey-null | appkey为null | 指定appkey的值 |
isp.invalid-get-totalpoint-fail | 获取用户积分失败 | 查看异常 |