通过图片查询搜索阿里巴巴商品
标识:SearchOffersImage
- 接口地址:
https://way.jd.com/TONGLI/SearchOffersImage
- 请求方式:
HTTPS GET POST
- 请求示例:
https://way.jd.com/TONGLI/SearchOffersImage?image_url=O1CN01biNUng1zqsNBkbTW2_!!0-item_pic.jpg&page_num=1&page_size=20&appkey=您申请的APPKEY
QUERY请求参数
- 公共请求参数
-
名称 类型 必填 示例值 描述 appkey String 是 1 您申请的appkey - 业务请求参数
-
名称 类型 必填 示例值 描述 image_url String 是 O1CN01biNUng1zqsNBkbTW2_!!0-item_pic.jpg 待查询商品的图片链接。 page_num String 否 1 页码 page_size String 否 20 每页数据条数,最多20条。 category_id String 否 类目ID,可通过阿里巴巴商品标准类目查询获取。不限定类目请留空。
返回参数
- 公共返回参数
-
名称 类型 示例值 描述 code string 10000 更多返回参数示例值请参看“错误参照码” charge boolean false 或 true false:不扣费 true:扣费 remain long 1305 数据剩余次数 msg string 查询成功 更多返回参数示例值请参看“错误参照码” result object {...} 数据查询结果 - 业务返回参数
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
ret_id | number | 132334719823468100 | 请求ID |
ret_body | string | {"found":"2000","offers":[{"abtest_info":"^abtest_info@^requestId@1113612258001588998382601000471^traceId@0b1401e115889983824732751eacca","agentBookedCount":"0","bizType":"生产加工","bookedCount":"0","businessInspection":"false","buyerProtections":[],"city":"广州市","companyName":"广州卡洛服饰商行","distance":"","factoryInspection":"false","hasZkPrice":"false","id":"610194468093","identityTags":["诚信通1年"],"loginId":"卡洛服饰商行","memberId":"b2b-2206712729126e4920","mixWholesale":"false","offerPicUrl":"https://cbu01.alicdn.com/img/ibank/2019/839/757/13022757938_726196378.jpg","offerSuttleWeight":"0.0","offerWeight":"0.33","oriGroup":"0","postCategory":"1031919","price":"22.0","primaryRankScore":"0","province":"广东","pureServiceTags":[],"quantityBegin":"2","quantityPrices":[{"quantity":"3~19","value":"29.00"},{"quantity":"20~299","value":"27.00"},{"quantity":"≥300","value":"22.00"}],"saleQuantity":"0","sameDesign":{"count":"0","enable":"false"},"serviceTags":["诚信通1年"],"shiliTag":{"enable":"false"},"shopRepurchaseRate":"16.6%","showPicTag":"false","similarDesign":{"enable":"false"},"simpleSubject":"中长款宽松风印花圆领短袖T恤上衣打底衫牛奶丝","subject":"中长款宽松风印花圆领短袖T恤上衣打底衫牛奶丝","superNewProduct":"false","tbMonthSales":"0","tbShopSales":"0","tpMember":"true","tpYear":"1","type":"normal","unit":"件","userid":"2206712729126","wapShopDataVO":{"highLight":"false","shopDataFlag":"shopRepurchaseRate","shopDataTag":"回头率","shopDataValue":"16.6%"},"winPortUrl":"https://m.1688.com/winport/b2b-2206712729126e4920.html?__existtitle__=1"}]} | 返回内容 |
ret_message | string | 错误信息 | |
ret_code | number | 0 | 错误代码 |
返回示例值
{"code":"10000","charge":false,"remain":1305,"msg":"查询成功","result":{
"ret_id": 132334719823468100,
"ret_body": "{\"found\":\"2000\",\"offers\":[{\"abtest_info\":\"^abtest_info@^requestId@1113612258001588998382601000471^traceId@0b1401e115889983824732751eacca\",\"agentBookedCount\":\"0\",\"bizType\":\"生产加工\",\"bookedCount\":\"0\",\"businessInspection\":\"false\",\"buyerProtections\":[],\"city\":\"广州市\",\"companyName\":\"广州卡洛服饰商行\",\"distance\":\"\",\"factoryInspection\":\"false\",\"hasZkPrice\":\"false\",\"id\":\"610194468093\",\"identityTags\":[\"诚信通1年\"],\"loginId\":\"卡洛服饰商行\",\"memberId\":\"b2b-2206712729126e4920\",\"mixWholesale\":\"false\",\"offerPicUrl\":\"https://cbu01.alicdn.com/img/ibank/2019/839/757/13022757938_726196378.jpg\",\"offerSuttleWeight\":\"0.0\",\"offerWeight\":\"0.33\",\"oriGroup\":\"0\",\"postCategory\":\"1031919\",\"price\":\"22.0\",\"primaryRankScore\":\"0\",\"province\":\"广东\",\"pureServiceTags\":[],\"quantityBegin\":\"2\",\"quantityPrices\":[{\"quantity\":\"3~19\",\"value\":\"29.00\"},{\"quantity\":\"20~299\",\"value\":\"27.00\"},{\"quantity\":\"≥300\",\"value\":\"22.00\"}],\"saleQuantity\":\"0\",\"sameDesign\":{\"count\":\"0\",\"enable\":\"false\"},\"serviceTags\":[\"诚信通1年\"],\"shiliTag\":{\"enable\":\"false\"},\"shopRepurchaseRate\":\"16.6%\",\"showPicTag\":\"false\",\"similarDesign\":{\"enable\":\"false\"},\"simpleSubject\":\"中长款宽松风印花圆领短袖T恤上衣打底衫牛奶丝\",\"subject\":\"中长款宽松风印花圆领短袖T恤上衣打底衫牛奶丝\",\"superNewProduct\":\"false\",\"tbMonthSales\":\"0\",\"tbShopSales\":\"0\",\"tpMember\":\"true\",\"tpYear\":\"1\",\"type\":\"normal\",\"unit\":\"件\",\"userid\":\"2206712729126\",\"wapShopDataVO\":{\"highLight\":\"false\",\"shopDataFlag\":\"shopRepurchaseRate\",\"shopDataTag\":\"回头率\",\"shopDataValue\":\"16.6%\"},\"winPortUrl\":\"https://m.1688.com/winport/b2b-2206712729126e4920.html?__existtitle__=1\"}]}",
"ret_message": "",
"ret_code": 0
}}