API接口目录

网盟业务

会员API
联盟订单API
大聚惠API
联盟商品API
招商推广活动API
获取推广链接API
优惠券推广API
机构推客API
店铺API
异常码自查工具
suning.netalliance.morerecommend.get 关联商品推荐接口
¥免费

通过商品ID和商户ID,获取与该商品类似的其他商品

公共参数
请求参数
名称 类型 是否必须 示例值 描述
cityCodeStringN025所在地区的行政区号,若是四位区号,则去掉开头的“0”
commodityCodeStringY121307256商品编码
supplierCodeStringY0000000000商家编码
picTypeStringN0图片类型 0方图,1长图,2竖图,默认为0
picLocationStringN2图片位置
picWidthStringN640图片宽度
picHeightStringN640图片高度
响应参数
名称 类型 示例值 描述
commodityListString
commodityNameString小电扇 商品名称
commodityCodeString121347884 商品编码
supplierCodeString0000000000 供应商编码
imgVersionString2图片版本号
monthlySalesString1,200月销量
couponAmountString10券总数
snPriceString1000 易购价
sellingPointString"便宜" 亮点
priceTypeString中文,大聚惠 ,抢购, 渠道专享,限时促销 ,爆款抢购, 掌上抢,特卖,乐拼购,其他为空价格类型
priceTypeCodeString0:正常价格,1、大聚惠 , 2、抢购, 3、渠道专享, 4 限时促销 ,5爆款抢购, 6 掌上抢, 7特卖,8 乐拼购 价格类型编码
commodityPriceString12商品价格
couponSpecialPriceString1.23券后价
commissionPriceString12佣金金额
commissionRateString1.22佣金比例
couponActiveIdString123456券活动id
activitySecretKeyStringsldjmsadjw券活动秘钥
couponPriceString12券价格
commodityTypeString自营、C店、海外购自营、海外购商品类型
baoyouString包邮,0:不包邮,默认,1:包邮是否包邮
pgActionIdString123456乐拼购活动ID
pgNumString2成团人数
pgPriceString12乐拼购价格
isOwnCommodityString0:是,1:否是否自营
saleStatusString0:可售,1:无货,2:本地暂不销售销售状态
picListString
cmmdtyUrlStringhttp://pic.com图片URL
minOrderQuantityString1拼购商品起售数量
productUrlStringhttps://product.suning.com/供应商编码/商品编码.html四级页地址
orderActivityString
activityRuleListString
floorString1层级
baseAmountString2基数数值
rewardAmountString0.2奖励数值
activityDescriptionString满2件打8折奖励描述
forbiddenMarkString11:禁售 0:非禁售
isActString10不是 1是
preferentialDistinctString12奖励优惠说明
couponShowTypeString1券标识类型,1.金额券 2,打折券
descriptionForListString12列表页券描述
bounsAmountString1奖励数值(券面额)
请求示例
  • XML示例
  • JSON示例
复制全部代码
                                <sn_request>
  <sn_body>
    <getMorerecommend>
      <picWidth>640</picWidth>
      <picLocation>2</picLocation>
      <picHeight>640</picHeight>
      <picType>0</picType>
      <cityCode>025</cityCode>
      <commodityCode>121307256</commodityCode>
      <supplierCode>0000000000</supplierCode>
    </getMorerecommend>
  </sn_body>
</sn_request>

                                
                                {
  "sn_request": {
    "sn_body": {
      "getMorerecommend": {
        "picWidth": "640",
        "picLocation": "2",
        "picHeight": "640",
        "picType": "0",
        "cityCode": "025",
        "commodityCode": "121307256",
        "supplierCode": "0000000000"
      }
    }
  }
}
                                
响应示例
  • XML示例
  • JSON示例
复制全部代码
                              <sn_responseContent>
  <sn_body>
    <getMorerecommend>
      <commodityList>
        <commissionRate>1.22</commissionRate>
        <pgActionId>123456</pgActionId>
        <baoyou>包邮,0:不包邮,默认,1:包邮</baoyou>
        <pgPrice>12</pgPrice>
        <supplierCode>0000000000</supplierCode>
        <monthlySales>1,200</monthlySales>
        <snPrice>1000</snPrice>
        <couponAmount>10</couponAmount>
        <forbiddenMark>1</forbiddenMark>
        <pgNum>2</pgNum>
        <priceTypeCode>0:正常价格,1、大聚惠 , 2、抢购, 3、渠道专享, 4 限时促销 ,5爆款抢购, 6 掌上抢, 7特卖,8 乐拼购</priceTypeCode>
        <commodityCode>121347884</commodityCode>
        <imgVersion>2</imgVersion>
        <couponSpecialPrice>1.23</couponSpecialPrice>
        <activitySecretKey>sldjmsadjw</activitySecretKey>
        <commissionPrice>12</commissionPrice>
        <couponShowType>1</couponShowType>
        <orderActivity>
          <activityRuleList>
            <rewardAmount>0.2</rewardAmount>
            <floor>1</floor>
            <baseAmount>2</baseAmount>
          </activityRuleList>
          <activityDescription>满2件打8折</activityDescription>
        </orderActivity>
        <priceType>中文,大聚惠 ,抢购, 渠道专享,限时促销 ,爆款抢购, 掌上抢,特卖,乐拼购,其他为空</priceType>
        <sellingPoint>"便宜"</sellingPoint>
        <saleStatus>0:可售,1:无货,2:本地暂不销售</saleStatus>
        <commodityPrice>12</commodityPrice>
        <commodityType>自营、C店、海外购自营、海外购</commodityType>
        <isOwnCommodity>0:是,1:否</isOwnCommodity>
        <preferentialDistinct>12</preferentialDistinct>
        <isAct>1</isAct>
        <picList>
          <cmmdtyUrl>http://pic.com</cmmdtyUrl>
        </picList>
        <descriptionForList>12</descriptionForList>
        <couponPrice>12</couponPrice>
        <minOrderQuantity>1</minOrderQuantity>
        <productUrl>https://product.suning.com/供应商编码/商品编码.html</productUrl>
        <bounsAmount>1</bounsAmount>
        <couponActiveId>123456</couponActiveId>
        <commodityName>小电扇</commodityName>
      </commodityList>
    </getMorerecommend>
  </sn_body>
</sn_responseContent>

                              
                              {
  "sn_responseContent": {
    "sn_body": {
      "getMorerecommend": {
        "commodityList": [
          {
            "commissionRate": "1.22",
            "pgActionId": "123456",
            "baoyou": "包邮,0:不包邮,默认,1:包邮",
            "pgPrice": "12",
            "supplierCode": "0000000000",
            "monthlySales": "1,200",
            "snPrice": "1000",
            "couponAmount": "10",
            "forbiddenMark": "1",
            "pgNum": "2",
            "priceTypeCode": "0:正常价格,1、大聚惠 , 2、抢购, 3、渠道专享, 4 限时促销 ,5爆款抢购, 6 掌上抢, 7特卖,8 乐拼购",
            "commodityCode": "121347884",
            "imgVersion": "2",
            "couponSpecialPrice": "1.23",
            "activitySecretKey": "sldjmsadjw",
            "commissionPrice": "12",
            "couponShowType": "1",
            "orderActivity": [
              {
                "activityRuleList": [
                  {
                    "rewardAmount": "0.2",
                    "floor": "1",
                    "baseAmount": "2"
                  }
                ],
                "activityDescription": "满2件打8折"
              }
            ],
            "priceType": "中文,大聚惠 ,抢购, 渠道专享,限时促销 ,爆款抢购, 掌上抢,特卖,乐拼购,其他为空",
            "sellingPoint": "\"便宜\"",
            "saleStatus": "0:可售,1:无货,2:本地暂不销售",
            "commodityPrice": "12",
            "commodityType": "自营、C店、海外购自营、海外购",
            "isOwnCommodity": "0:是,1:否",
            "preferentialDistinct": "12",
            "isAct": "1",
            "picList": [
              {
                "cmmdtyUrl": "http://pic.com"
              }
            ],
            "descriptionForList": "12",
            "couponPrice": "12",
            "minOrderQuantity": "1",
            "productUrl": "https://product.suning.com/供应商编码/商品编码.html",
            "bounsAmount": "1",
            "couponActiveId": "123456",
            "commodityName": "小电扇"
          }
        ]
      }
    }
  }
}
                              
异常示例
  • XML示例
  • JSON示例
复制全部代码

  
  	API异常码
  	异常码中文描述
  

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