API接口目录

网盟业务

会员API
联盟订单API
大聚惠API
联盟商品API
招商推广活动API
获取推广链接API
优惠券推广API
机构推客API
店铺API
异常码自查工具
suning.netalliance.weiboproductinfo.get 微博商品信息查询和转链
¥免费

微博商品信息查询和转链

公共参数
请求参数
名称 类型 是否必须 示例值 描述
detailUrlStringYhttp://productpre.cnsuning.com/0000000000/121345064.html易购四级页链接
subUserStringN111子会员(不能含= &这个两个符号)
custNumStringN1会员编码
isShareStringN0是否三方分成 0:否 1:是
isGetBuyUrlStringN0是否返回推广链接 0:不返回 其他值返回
wbShareIdStringN1微博三方分成会员编码
响应参数
名称 类型 示例值 描述
titleString11商品名
descString2商品卖点
rpriceString2易购价
priceString2商品售价
salesString2销量
statusString0销售状态 0代表不可售,1代表可售
picsString2图片地址,商品轮播图可多张, 逗号分割
itemIdString2商品ID
shopIdString2店铺ID
shopNameString2店铺名称
firstSaleCategoryIdString2一级销售目录ID
firstSaleCategoryNameString2一级销售目录名称
secondSaleCategoryIdString2二级销售目录ID
secondSaleCategoryNameString2二级销售目录名称
thirdSaleCategoryIdString2三级销售目录ID
thirdSaleCategoryNameString2三级销售目录名称
brandIdString2品牌ID
brandNameString2品牌名
rateString2佣金比例
buyUrlString2购买链接,cps转链链接
请求示例
  • XML示例
  • JSON示例
复制全部代码
                                
<sn_request>
  <sn_body>
    <getWeiboproductinfo>
      <wbShareId>1</wbShareId>
      <isShare>0</isShare>
      <custNum>1</custNum>
      <detailUrl>http://productpre.cnsuning.com/0000000000/121345064.html</detailUrl>
      <subUser>111</subUser>
      <isGetBuyUrl>0</isGetBuyUrl>
    </getWeiboproductinfo>
  </sn_body>
</sn_request>

			
                                
                                
{
  "sn_request": {
    "sn_body": {
      "getWeiboproductinfo": {
        "wbShareId": "1",
        "isShare": "0",
        "custNum": "1",
        "detailUrl": "http://productpre.cnsuning.com/0000000000/121345064.html",
        "subUser": "111",
        "isGetBuyUrl": "0"
      }
    }
  }
}
			
                                
响应示例
  • XML示例
  • JSON示例
复制全部代码
                              
<sn_responseContent>
  <sn_body>
    <getWeiboproductinfo>
      <brandName>2</brandName>
      <thirdSaleCategoryId>2</thirdSaleCategoryId>
      <secondSaleCategoryId>2</secondSaleCategoryId>
      <secondSaleCategoryName>2</secondSaleCategoryName>
      <shopName>2</shopName>
      <buyUrl>2</buyUrl>
      <title>11</title>
      <sales>2</sales>
      <itemId>2</itemId>
      <firstSaleCategoryId>2</firstSaleCategoryId>
      <firstSaleCategoryName>2</firstSaleCategoryName>
      <rate>2</rate>
      <thirdSaleCategoryName>2</thirdSaleCategoryName>
      <price>2</price>
      <brandId>2</brandId>
      <shopId>2</shopId>
      <pics>2</pics>
      <desc>2</desc>
      <rprice>2</rprice>
      <status>0</status>
    </getWeiboproductinfo>
  </sn_body>
</sn_responseContent>

			
                              
                              
{
  "sn_responseContent": {
    "sn_body": {
      "getWeiboproductinfo": {
        "brandName": "2",
        "thirdSaleCategoryId": "2",
        "secondSaleCategoryId": "2",
        "secondSaleCategoryName": "2",
        "shopName": "2",
        "buyUrl": "2",
        "title": "11",
        "sales": "2",
        "itemId": "2",
        "firstSaleCategoryId": "2",
        "firstSaleCategoryName": "2",
        "rate": "2",
        "thirdSaleCategoryName": "2",
        "price": "2",
        "brandId": "2",
        "shopId": "2",
        "pics": "2",
        "desc": "2",
        "rprice": "2",
        "status": "0"
      }
    }
  }
}
			
                              
异常示例
  • XML示例
  • JSON示例
复制全部代码

  
  	API异常码
  	异常码中文描述
  

                           	  
{
  "sn_responseContent": {
    "sn_error": {
      "error_code": "API异常码",
      "error_msg": "异常码中文描述"
    }
  }
}
                           		
业务异常码
异常码 错误描述 解决方案
biz.netalliance.getweiboproductinfo.missing-parameter:* 参数必填 请检查此参数的值,*号表示参数字段名
biz.handler.data-get:no-result 查询没结果 请检查查询参数
isp.sys.service.unavailable.sumis 服务不可用 请联系苏宁技术人员
公共异常码
API工具
FAQ