API
P03查询商品信息
更新时间: 2017-11-22 16:27:09 访问次数:711
接口说明

该接口提供给第三方平台或是卖家自有系统集成查询商品信息功能。

使用场景

卖家可以通过该接口实现查询产品相关信息功能,调用winit.mms.item.list,返回商品信息。

备注

请求说明
URL http://openapi.winit.com.cn/openapi/service
接口测试 http://openapi.sandbox.winit.com.cn/openapi/service
验证方法 Token,md5
格式 json
字符编码 UTF-8
http请求方式 http
请求数限制 默认每分钟1000,有需要可申请加大。
请求入参
名称 类型 必填 说明 示例
pageNo Integer Y 页码信息 1
pageSize Integer Y 每页记录数/分页大小 5
skuCode String(255) 卖家商品编码,支持模糊搜索 LCD-IP4-02
请求示例
{
   "sign":   "00000000000000000000000000000000",
   "sign_method": "md5",
   "timestamp": "2015-06-16   00:19:26",
   "platform":   "SELLERERP",
   "action": "winit.mms.item.list",
   "data":    {
      "pageNo": "1",
      "pageSize": "5",
      "skuCode":   "LCD-IP5-01"
   },
   "app_key": "rebecca",
   "format": "json",
   "language": "zh_CN",
   "version": "1.0"
}

                            
返回出参
名称 类型 必填 说明 示例
pageParams Object Y 分页信息
--|pageNo Integer Y 当前页
--|pageSize Integer Y 分页大小
--|totalCount Integer Y 总记录数
list Array Y 数据数组
--|code String Y 商品条码
--|skuCode String Y 商品编码
--|specification String Y 商品规格
--|cnName String Y 商品中文名称
--|name String Y 商品英文名称
--|length Double Y 核实长度(厘米)
--|width Double Y 核实宽(厘米)
--|height Double Y 核实高(厘米)
--|weight Double Y 核实重量(千克)
--|volume Double Y 核实体积(立方米)
--|registerLength Double Y 注册长度(厘米)
--|registerWidth Double Y 注册宽度(厘米)
--|registerHeight Double Y 注册高度(厘米)
--|registerWeight Double Y 注册重量(千克)
--|registerVolume Double Y 注册体积(立方米)
--|customsDeclarationList Array Y 商品申报信息
--|--|countryCode Y 国家
--|--|declareName Y 申报品名
--|--|importPrice Y 进口申报价值(美元)
--|--|exportPrice Y 出口申报价值(美元)
--|--|rebateRate Y 退税率 20
--|--|importRate Y 进口关税税率 3.7
--|--|vatRate Y 增值税率 15
返回示例
{
   "code": "0",
   "msg": "操作成功",
   "data":    {
      "list": [      {
"id": null,
         "code":   "M010000000000062792",
         "skuCode":   "LCD-IP5-01",
         "specification":   "",
         "cnName": "Iphone 5 液晶屏总成白色",
         "name": "iphone 5 lcd   screen white",
         "length": 20,
         "width": 14,
         "height": 14,
         "volume": 0.00392,
         "weight": 1,
         "registerWeight": 0.063,
         "registerLength": 18,
         "registerWidth": 13,
         "registerHeight": 3,
         "registerVolume": 7.02E-4,
           "customsDeclarationList":          [
                        {
               "countryCode":   "AU",
               "declareName":   "touch screen| use in the handset",
               "importPrice": 7.5,
               "exportPrice": 0,
               "rebateRate": 0,
               "importRate": 0,
               "vatRate": 10
            },
                        {
               "countryCode":   "BE",
               "declareName":   "Other",
               "importPrice": 7.5,
               "exportPrice": 0,
               "rebateRate": null,
               "importRate": 0,
               "vatRate": 21
            },
                        {
               "countryCode":   "CN",
               "declareName":   "手持式无线电话机用零件(天线除外)",
               "importPrice": 0,
               "exportPrice": 7.5,
               "rebateRate": 17,
               "importRate": 0,
               "vatRate": 0
            },
                        {
               "countryCode":   "UK",
               "declareName":   "Wireless headset",
               "importPrice": 7.5,
               "exportPrice": 0,
               "rebateRate": 17,
               "importRate": 0,
               "vatRate": 20
            },
                        {
                 "countryCode": "US",
               "declareName":   "Parts",
               "importPrice": 7.5,
               "exportPrice": 0,
               "rebateRate": 0,
               "importRate": 0,
               "vatRate": 0
            }
         ]
      }],
      "pageParams":       {
         "totalCount": 1,
         "pageNo": 1,
         "pageSize": 5
      }
   }
}