store.item.get 根据传入的iid获取对应的单个商品的数据 (同步)

详细描述

根据传入的iid获取对应的单个商品的数据

支持平台: 淘宝, 拍拍, 京东

API用户类型授权

需授权

系统级别输入参数

名称 类型 是否必须 描述
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时所有输入参数(包括应用级参数)进行签名结果

应用级输入参数

名称 类型
默认全部
示例值 默认值 描述
iid Number

淘宝(必填)

拍拍(必填)

京东(必填)

商品ID

返回结果

名称 类型 是否必须 示例值 描述
item Item

显示调用结果

XML数据格式:

			
JSON数据格式:
{
       "rsp": "succ",   
       "res": "",
       "msg_id": "3463421b2581604c74dcb9b74ffab2e4",
       "data": {
           "item":{
                "iid":"200001",
                "title":"Nokia手机N73",
                "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",
                                        "big_url":"http://shop1.test.com/uploaded/i3/T1HXdXXgPSt0JxZ2.8_070458.jpg",
                                        "thisuasm_url":"http://shop1.test.com/uploaded/i3/T1HXdXXgPSt0JxZ2.8_070458.jpg",
                                        "small_url":"http://shop1.test.com/uploaded/i3/T1HXdXXgPSt0JxZ2.8_070458.jpg",
                                        "is_default":"true",
                                
                                },
                                {
                                        "image_id":"2",
                                        "big_url":"http://shop1.test.com/uploaded/i3/T1HXdXXgPSt0JxZ2.8_070458.jpg",
                                        "thisuasm_url":"http://shop1.test.com/uploaded/i3/T1HXdXXgPSt0JxZ2.8_070458.jpg",
                                        "small_url":"http://shop1.test.com/uploaded/i3/T1HXdXXgPSt0JxZ2.8_070458.jpg",
                                        "is_default":"false",
                                
                                },
                                {
                                        "image_id":"3",
                                        "big_url":"http://shop1.test.com/uploaded/i3/T1HXdXXgPSt0JxZ2.8_070458.jpg",
                                        "thisuasm_url":"http://shop1.test.com/uploaded/i3/T1HXdXXgPSt0JxZ2.8_070458.jpg",
                                        "small_url":"http://shop1.test.com/uploaded/i3/T1HXdXXgPSt0JxZ2.8_070458.jpg",
                                        "is_default":"false",

                                }]
                },
                "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",
                                
                                },
                                {
                                        "image_id":"2",
                                        "url":"http://shop1.test.com/uploaded/i3/T1HXdXXgPSt0JxZ2.8_070458.jpg",
                                        "properties":"http://shop1.test.com/uploaded/i3/T1HXdXXgPSt0JxZ2.8_070458.jpg",
                                        "position":"2",
                                
                                },
                                {
                                        "image_id":"3",
                                        "url":"http://shop1.test.com/uploaded/i3/T1HXdXXgPSt0JxZ2.8_070458.jpg",
                                        "properties":"http://shop1.test.com/uploaded/i3/T1HXdXXgPSt0JxZ2.8_070458.jpg",
                                        "position":"3",

                                }]
                },
                "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"
                            },
                            {
                                "sku_id":"789",
                                "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"
                            }]
                }
           }
       }
}

错误码

错误码 错误描述 解决方案

FAQ

修改时间:2013-01-28 18:28:49