商品列表接口
名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
---|---|---|---|---|---|
epp_item_query_request | EppItemQueryRequest | 可选 | 查询参数 | ||
|
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
model | Model | 返回对象 | |
|
|||
message | String | 成功 | 失败原因 |
1 2 3 4 5 6 7 8 9 10 11 12 13 | TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret); EppItemListRequest req = new EppItemListRequest(); EppItemListRequest.EppItemQueryRequest obj1 = new EppItemListRequest.EppItemQueryRequest(); obj1.setPageSize(20L); obj1.setCurrentPage(1L); obj1.setCategory1Id( "EC50022703" ); obj1.setCategory2Id( "EC20123" ); obj1.setCategory3Id( "EC20003" ); obj1.setCategory4Id( "EC400121" ); obj1.setCategory5Id( "EC101231" ); req.setEppItemQueryRequest(obj1); EppItemListResponse 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 | < epp_item_list_response > < model > < pagination > < total >50</ total > < current >1</ current > < page_size >20</ page_size > </ pagination > < list > < epp_item_d_t_o > < mark_price >20000</ mark_price > < epp_item_id >EA527497741097</ epp_item_id > < sku_list > < sku_d_t_o > < sku_title >颜色分类:浅灰色;</ sku_title > < sku_pict_url >i4/2216850017377/O1CN01HN1XoD24MifhuSAjn_!!2216850017377.jpg</ sku_pict_url > < mark_price >200</ mark_price > < sku_spec > < sku_spec_d_t_o > < sku_value_sort_order >0</ sku_value_sort_order > < sku_property_sort_order >0</ sku_property_sort_order > < sku_value >浅灰色</ sku_value > < sku_property >颜色分类</ sku_property > < sku_property_id >200</ sku_property_id > < sku_value_id >300</ sku_value_id > </ sku_spec_d_t_o > </ sku_spec > < price >200</ price > < sku_id >5369577455024</ sku_id > </ sku_d_t_o > </ sku_list > < sub_title >结实 耐用</ sub_title > < price >200</ price > < pict_url >i4/2216850017377/O1CN01HN1XoD24MifhuSAjn_!!2216850017377.jpg</ pict_url > < title >安买牙线棒50只*2盒</ title > < status >online</ status > </ epp_item_d_t_o > </ list > </ model > < message >成功</ message > </ epp_item_list_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 > |
错误码 | 错误描述 | 解决方案 |
---|