名称 | 类型 | 必填 | 示例 | 说明 |
---|---|---|---|---|
appid 复制 | Int | 是 | 2010091553028980 | 您在京推推申请的appid |
appkey 复制 | String | 是 | 2 | 您在京推推申请的appkey |
v 复制 | String | 是 | v2 | API接口版本号,当前版本: v2 |
return_type 复制 | String | 否 | code_jsonp | 返回数据格式,不传参默认json,支持以下参数code、jsonp、code_jsonp |
名称 | 类型 | 必填 | 示例 | 说明 |
---|---|---|---|---|
skuIds 复制 | String | 否 | 10099556390002,10099352459286 | skuId集合,最多支持批量入参10个sku;仅sceneId=2时支持入参 |
itemIds 复制 | String | 是 | vjRpAZ9Wc7MAxTE9ykKGDMqm_373Z9LOqCckTm5hYpb,CGVm8HMsnQVKhbRymvmPT3NA_3GHvBWatNnv220NuV3 | 联盟商品ID集合(一次最多支持查询20个itemId),为字符串数组类型,字符串用英文逗号隔开;仅sceneId=1时支持入参 |
sceneId 复制 | Number | 1 | 场景ID,支持入参1,2;2需要权限申请 |
名称 | 类型 | 示例值 | 说明 |
---|---|---|---|
return 复制 | Int | 0 | 0=返回成功 |
result 复制 | 返回结果 | ||
> itemId 复制 | String | Q9Z2ZdyMsa9g7jpsfgQNVA0R_3SD7M7ISbsR0zCKPoF | 联盟商品ID |
> goods_id 复制 | Long | 10022784685830 | 商品SKU |
> img_array 复制 | Json | "http://img10.360buyimg.com/imgzone/jfs/t1/126619/27/14458/185141/5f81851aE6b7e4f51/b70105a7ab1a08b8.jpg", "http://img10.360buyimg.com/imgzone/jfs/t1/147564/19/10388/63940/5f81851aEa17efe76/7a86be6acff93cde.jpg", | 详情页图片合集(商品详情页,多图组合) |
{
"return": "0",
"result": {
{
"goods_id": 10022784685830,
"img_array": [
"http://img10.360buyimg.com/imgzone/jfs/t1/126619/27/14458/185141/5f81851aE6b7e4f51/b70105a7ab1a08b8.jpg",
"http://img10.360buyimg.com/imgzone/jfs/t1/147564/19/10388/63940/5f81851aEa17efe76/7a86be6acff93cde.jpg",
"http://img10.360buyimg.com/imgzone/jfs/t1/146858/32/10323/66333/5f81851aE4e0e4536/3dbede17012eb727.jpg",
"http://img10.360buyimg.com/imgzone/jfs/t1/148681/22/10360/98697/5f81851aE1d255038/bda6dc1de181a7b0.jpg",
"http://img10.360buyimg.com/imgzone/jfs/t1/124420/4/14514/151556/5f81851bE041acbd7/6f967392260cf6bd.jpg",
"http://img10.360buyimg.com/imgzone/jfs/t1/128340/11/14567/125132/5f81851bEad36ecd3/9905c5acb77e34d1.jpg",
"http://img10.360buyimg.com/imgzone/jfs/t1/154043/20/1829/74550/5f81851bEaccb37b8/7f5688a0dfe8d1a3.jpg",
"http://img10.360buyimg.com/imgzone/jfs/t1/128979/9/14608/129901/5f81851bEa0f611c3/c461adaf58d9bdd5.jpg",
"http://img10.360buyimg.com/imgzone/jfs/t1/136529/38/11926/174659/5f81851bEa9932a4d/5cd0bee9a90c6a33.jpg",
"http://img10.360buyimg.com/imgzone/jfs/t1/133038/31/11918/108680/5f81851bE50a9a6fe/a970d2e7822d22cb.jpg",
"http://img10.360buyimg.com/imgzone/jfs/t1/140428/13/10462/85138/5f81851cE102942b8/1c61f35316a22f37.jpg",
"http://img10.360buyimg.com/imgzone/jfs/t1/147599/17/10367/76699/5f81851cE32f4079a/a5fc87fc09abc384.jpg",
"http://img10.360buyimg.com/imgzone/jfs/t1/151169/27/2697/95410/5f81851cEe6b678c3/72cac4d4031ef291.jpg",
"http://img10.360buyimg.com/imgzone/jfs/t1/118200/34/19897/70999/5f81851cE481f95e6/390928c8e1fe8a7e.jpg"
]
}
]
}
}
错误码 | 说明 |
---|---|
0 | 请求成功 |
1000 | appid或appkey错误 |
2000 | API次数调用超过上限 |
3000 | API权限不足 |