根据商品ID,批量获取商品信息接口
支持平台: 淘宝
根据商品ID,批量获取商品信息接口
支持平台: 淘宝
需授权
名称 | 类型 | 是否必须 | 描述 |
---|---|---|---|
method | String | 是 | API接口名称 |
certi_id | Number | 否 | 分配给应用的证书ID |
from_node_id | String | 是 | API调用的来源节点ID,对于第三方开发者来说,此id即为申请应用颁发的APP KEY |
from_api_v | String | 否 | 请求方版本号 |
to_node_id | String | 否 | API调用的目的节点ID(除了基础服务类api,其他接口必传此参数) |
to_api_v | String | 否 | 接收方版本号 |
callback_url | String | 否 | 响应回调地址,带http路径的标准URL。(调用异步接口此参数必填) |
v | String | 是 | 矩阵API协议版本,可选值:1.0 |
timestamp | String | 是 | 时间戳,格式为yyyy-MM-dd hh:mm:ss,例如:2008-01-25 20:23:30。ShopEx API服务端允许客户端请求时间误差为10分钟 |
format | String | 是 | 可选,指定响应格式。默认JSON ,目前支持格式为JSON |
sign | String | 是 | 对调用API时所有输入参数(包括应用级参数)进行签名结果 |
名称 | 类型 |
|
示例值 | 默认值 | 描述 |
---|---|---|---|---|---|
iids | String |
淘宝(必填) |
123,234,345,2456,123456 |
商品数字id列表,多个iid用逗号隔开
|
名称 | 类型 | 是否必须 | 示例值 | 描述 |
---|---|---|---|---|
item | Item | 是 | 商品结构 |
{ "rsp":"succ", "msg_id":"3463421b2581604c74dcb9b74ffab2e4", "data":{ "items":{ "item":[{ "iid":"200001", "title":"苹果iphone4s", "outer_id":"123132", "seller_uname":"xxxx", "type":"fixed", "shopcat_id":"", "input_pids":"", "input_str":"", "score":"30", "supplier_id":"1234", "supplier_name":"xxx", "barcode":"1212", "is_simple":"true", "valid_thru":"14", "mktprice":"125.00", "costprice":"123.00", "has_showcase":"true", "auto_repost":"false", "auction_point":"30%", "detail_url":"http://shop1.test.shopex.cn:20210/?product-39.html", "bn":"G49B7AF58591B6", "brand_id":"1", "cid":"1", "num":"10", "status":"onsale", "price":"1500.00", "unit":"台", "modified":"2010-01-01 20:01:01", "description":"Nokia手机N73,适合年轻人使用", "default_img_url":"http://shop1.test.com/uploaded/i3/T1HXdXXgPSt0JxZ2.8_070458.jpg", "item_imgs":{ "item_img":[{ "image_id":"1", "small_url":"http://shop1.test.com/uploaded/i3/T1HXdXXgPSt0JxZ2.8_070458.jpg", "thisuasm_url":"http://shop1.test.com/uploaded/i3/T1HXdXXgPSt0JxZ2.8_070458.jpg", "big_url":"http://shop1.test.com/uploaded/i3/T1HXdXXgPSt0JxZ2.8_070458.jpg", "is_default":"true", }] }, "prop_imgs":{ "propimg":[{ "image_id":"1", "url":"http://shop1.test.com/uploaded/i3/T1HXdXXgPSt0JxZ2.8_070458.jpg", "properties":"http://shop1.test.com/uploaded/i3/T1HXdXXgPSt0JxZ2.8_070458.jpg", "position":"1", }] }, "delist_time":"2010-01-01 20:01:01", "props":"1632501:3679421;20000:29468;", "stuff_status":"new", "country":"中国", "state":"上海", "city":"上海", "district":"徐家汇", "freight_payer":"buyer", "postage_id":"0", "post_fee":"0.20", "express_fee":"15.00", "ems_fee":"20.00", "has_invoice":"true", "has_warranty":"true", "has_discount":"true", "increment":"", "is_virtual":"false", "skus":{ "sku":[{ "sku_id":"1234", "iid":"121212", "outer_id":"123132", "created":"2010-04-27 14:46:57", "status":"normal", "bn":"G49B7AF2072AF8-2", "modified":"2010-04-27 14:46:57", "price":"10.00", "properties":"1627207:3232483;21921:30106", "quantity":"7" }] } }] } } }
错误码 | 错误描述 | 解决方案 |
---|