查询tp下的门店列表
名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
---|---|---|---|---|---|
tp_id | Number | 必须 | 727189005 | tp的storeId | |
store_id | Number | 可选 | 727189006 | 门店的storeId | |
name | String | 可选 | 门店name | 门店name | |
page_num | Number | 必须 | 1 | 分页页码 | |
page_size | Number | 必须 | 10 | 每页数量 |
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
mesg | String | 服务异常 | 错误描述 |
cod | String | SERVICE_ERROR | 错误code |
data | CampusStoreDTO [] | 返回值 | |
|
|||
total_num | String | 10 | 总数 |
succes | String | true | 是否成功 |
page_num | String | 1 | 页码 |
1 2 3 4 5 6 7 8 9 | TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret); TmallCampusRetailStoreQueryRequest req = new TmallCampusRetailStoreQueryRequest(); req.setTpId(727189005L); req.setStoreId(727189006L); req.setName( "门店name" ); req.setPageNum(1L); req.setPageSize(10L); TmallCampusRetailStoreQueryResponse 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 | < tmall_campus_retail_store_query_response > < mesg >服务异常</ mesg > < cod >SERVICE_ERROR</ cod > < data > < campus_store_d_t_o > < tp_name >企业名称</ tp_name > < tp_short_ame >企业简称</ tp_short_ame > < store_id >部门编码-storeId</ store_id > < store_name >部门名称</ store_name > < type >部门类型</ type > < store_operate_area >100m2</ store_operate_area > < status >0</ status > < posx >118.385146</ posx > < posy >31.340404</ posy > < business_time >08:30~12:00</ business_time > < prov_code >340000</ prov_code > < city_code >340200</ city_code > < district_code >340202</ district_code > < store_address >详细地址</ store_address > < pic >门店图url</ pic > < contact_phone >13912345678</ contact_phone > < contact_name >张三</ contact_name > </ campus_store_d_t_o > </ data > < total_num >10</ total_num > < succes >true</ succes > < page_num >1</ page_num > </ tmall_campus_retail_store_query_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 > |
错误码 | 错误描述 | 解决方案 |
---|