API接口目录

网盟业务

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

根据用户请求的选品库ID,返回用户该ID下所有的商品信息

公共参数
请求参数
名称 类型 是否必须 示例值 描述
pageIndexStringN1页码
sizeStringN10每页条数
favoritesidStringY12345选品库ID
响应参数
名称 类型 示例值 描述
countString10数据总量
commodityListString
commodityInfoString
commodityNameString123商品名称
commodityCodeString123商品编码
supplierCodeString1供应商编码
supplierNameString1供应商名称
pictureUrlString
locationIdString1图片位置
picUrlString1图片Url
sellingPointString1商品卖点
monthSalesString1月销量
snPriceString1易购价
commodityPriceString1商品价格
commodityTypeString1商品类型 1:自营 2:C店 3:海外购自营 4:海外购 5:特卖 6:极物
priceTypeString1价格类型
priceTypeCodeString1价格类型编码 0:正常价格,1:大聚惠 , 2:抢购, 3:渠道专享, 4:限时促销 ,5:爆款抢购,6:掌上抢,7:特卖,99:乐拼购
baoyouString1是否包邮 0:不包邮 1:包邮
rateString1佣金比例 (数值为百分比数据)
saleStatusString1是否可售 0:可售,1:无货,2:本地暂不销售
forbiddenMarkString11:禁售 0:非禁售
isActString10不是 1是
pgInfoString
pgNumString1成团人数
pgPriceString1拼购价
pgUrlString1拼购四级页地址
pgActionIdString1拼购活动ID
categoryInfoString
firstSaleCategoryIdString1一级销售目录ID
firstSaleCategoryNameString1一级销售目录名称
secondSaleCategoryIdString1二级销售目录ID
secondSaleCategoryNameString1二级销售目录名称
thirdSaleCategoryIdString1三级销售目录ID
thirdSaleCategoryNameString1三级销售目录名称
firstPurchaseCategoryIdString1一级采购目录ID
firstPurchaseCategoryNameString1一级采购目录名称
secondPurchaseCategoryIdString1二级采购目录ID
secondPurchaseCategoryNameString1二级采购目录名称
thirdPurchaseCategoryIdString1三级采购目录ID
thirdPurchaseCategoryNameString1三级采购目录名称
goodsGroupCategoryIdString1商品组目录ID
goodsGroupCategoryNameString1商品组目录名称
couponInfoString
couponUrlString1券链接URL
activityIdString1券活动编码
activitySecretKeyString1券秘钥
couponValueString1券面额
couponCountString1券总数
couponStartTimeString1券领取开始时间
couponEndTimeString1券领取结束时间
startTimeString1券使用开始时间
endTimeString1券使用结束时间
bounsLimitString1基数数值
activityDescriptionString1活动描述
preferentialDistinctString奖励优惠说明奖励优惠说明
couponShowTypeString1券标识类型,1.金额券 2,打折券
descriptionForListString列表页券描述列表页券描述
bounsAmountString奖励数值(券面额)奖励数值(券面额)
advanceSaleString
isReserveCommodityString1是否预售
depositAmountString1定金
depositEndTimeString1付定金结束时间
cmmdtyReviewInfoString
totalReviewCountString123评价总数
goodReviewCountString12好评数量
goodRateString12好评率
subCodeListString
subCodeString123子码
parametersListString
parameterCodeString1参数代码
parameterSequenceString1参数排序码
parameterDescString1参数描述
parameterValString1参数描述值
parametersCodeString1参数组代码
parametersDescString1参数组描述
sequenceString1参数组排序
explainString说明参数说明文
coreFlagString1核心参数
msgString1信息
请求示例
  • XML示例
  • JSON示例
复制全部代码
                                <sn_request>
  <sn_body>
    <queryFavorites>
      <favoritesid>12345</favoritesid>
      <size>10</size>
      <pageIndex>1</pageIndex>
    </queryFavorites>
  </sn_body>
</sn_request>

                                
                                {
  "sn_request": {
    "sn_body": {
      "queryFavorites": {
        "favoritesid": "12345",
        "size": "10",
        "pageIndex": "1"
      }
    }
  }
}
                                
响应示例
  • XML示例
  • JSON示例
复制全部代码
                              <sn_responseContent>
  <sn_body>
    <queryFavorites>
      <msg>1</msg>
      <count>10</count>
      <commodityList>
        <advanceSale>
          <depositAmount>1</depositAmount>
          <depositEndTime>1</depositEndTime>
          <isReserveCommodity>1</isReserveCommodity>
        </advanceSale>
        <subCodeList>
          <subCode>123</subCode>
        </subCodeList>
        <couponInfo>
          <activitySecretKey>1</activitySecretKey>
          <couponShowType>1</couponShowType>
          <couponCount>1</couponCount>
          <couponUrl>1</couponUrl>
          <couponValue>1</couponValue>
          <bounsLimit>1</bounsLimit>
          <couponEndTime>1</couponEndTime>
          <activityId>1</activityId>
          <preferentialDistinct>奖励优惠说明</preferentialDistinct>
          <couponStartTime>1</couponStartTime>
          <descriptionForList>列表页券描述</descriptionForList>
          <startTime>1</startTime>
          <activityDescription>1</activityDescription>
          <endTime>1</endTime>
          <bounsAmount>奖励数值(券面额)</bounsAmount>
        </couponInfo>
        <pgInfo>
          <pgUrl>1</pgUrl>
          <pgActionId>1</pgActionId>
          <pgNum>1</pgNum>
          <pgPrice>1</pgPrice>
        </pgInfo>
        <parametersList>
          <explain>说明</explain>
          <parameterDesc>1</parameterDesc>
          <sequence>1</sequence>
          <parameterVal>1</parameterVal>
          <parametersCode>1</parametersCode>
          <parameterSequence>1</parameterSequence>
          <coreFlag>1</coreFlag>
          <parametersDesc>1</parametersDesc>
          <parameterCode>1</parameterCode>
        </parametersList>
        <categoryInfo>
          <firstPurchaseCategoryId>1</firstPurchaseCategoryId>
          <secondPurchaseCategoryId>1</secondPurchaseCategoryId>
          <goodsGroupCategoryId>1</goodsGroupCategoryId>
          <firstPurchaseCategoryName>1</firstPurchaseCategoryName>
          <thirdSaleCategoryId>1</thirdSaleCategoryId>
          <secondSaleCategoryId>1</secondSaleCategoryId>
          <secondSaleCategoryName>1</secondSaleCategoryName>
          <goodsGroupCategoryName>1</goodsGroupCategoryName>
          <firstSaleCategoryId>1</firstSaleCategoryId>
          <thirdPurchaseCategoryId>1</thirdPurchaseCategoryId>
          <firstSaleCategoryName>1</firstSaleCategoryName>
          <thirdSaleCategoryName>1</thirdSaleCategoryName>
          <thirdPurchaseCategoryName>1</thirdPurchaseCategoryName>
          <secondPurchaseCategoryName>1</secondPurchaseCategoryName>
        </categoryInfo>
        <cmmdtyReviewInfo>
          <goodRate>12</goodRate>
          <goodReviewCount>12</goodReviewCount>
          <totalReviewCount>123</totalReviewCount>
        </cmmdtyReviewInfo>
        <commodityInfo>
          <supplierName>1</supplierName>
          <pictureUrl>
            <picUrl>1</picUrl>
            <locationId>1</locationId>
          </pictureUrl>
          <priceType>1</priceType>
          <baoyou>1</baoyou>
          <sellingPoint>1</sellingPoint>
          <saleStatus>1</saleStatus>
          <supplierCode>1</supplierCode>
          <commodityPrice>1</commodityPrice>
          <commodityType>1</commodityType>
          <monthSales>1</monthSales>
          <snPrice>1</snPrice>
          <forbiddenMark>1</forbiddenMark>
          <isAct>1</isAct>
          <priceTypeCode>1</priceTypeCode>
          <rate>1</rate>
          <commodityCode>123</commodityCode>
          <commodityName>123</commodityName>
        </commodityInfo>
      </commodityList>
    </queryFavorites>
  </sn_body>
</sn_responseContent>

                              
                              {
  "sn_responseContent": {
    "sn_body": {
      "queryFavorites": {
        "msg": "1",
        "count": "10",
        "commodityList": [
          {
            "advanceSale": {
              "depositAmount": "1",
              "depositEndTime": "1",
              "isReserveCommodity": "1"
            },
            "subCodeList": [
              {
                "subCode": "123"
              }
            ],
            "couponInfo": {
              "activitySecretKey": "1",
              "couponShowType": "1",
              "couponCount": "1",
              "couponUrl": "1",
              "couponValue": "1",
              "bounsLimit": "1",
              "couponEndTime": "1",
              "activityId": "1",
              "preferentialDistinct": "奖励优惠说明",
              "couponStartTime": "1",
              "descriptionForList": "列表页券描述",
              "startTime": "1",
              "activityDescription": "1",
              "endTime": "1",
              "bounsAmount": "奖励数值(券面额)"
            },
            "pgInfo": {
              "pgUrl": "1",
              "pgActionId": "1",
              "pgNum": "1",
              "pgPrice": "1"
            },
            "parametersList": [
              {
                "explain": "说明",
                "parameterDesc": "1",
                "sequence": "1",
                "parameterVal": "1",
                "parametersCode": "1",
                "parameterSequence": "1",
                "coreFlag": "1",
                "parametersDesc": "1",
                "parameterCode": "1"
              }
            ],
            "categoryInfo": {
              "firstPurchaseCategoryId": "1",
              "secondPurchaseCategoryId": "1",
              "goodsGroupCategoryId": "1",
              "firstPurchaseCategoryName": "1",
              "thirdSaleCategoryId": "1",
              "secondSaleCategoryId": "1",
              "secondSaleCategoryName": "1",
              "goodsGroupCategoryName": "1",
              "firstSaleCategoryId": "1",
              "thirdPurchaseCategoryId": "1",
              "firstSaleCategoryName": "1",
              "thirdSaleCategoryName": "1",
              "thirdPurchaseCategoryName": "1",
              "secondPurchaseCategoryName": "1"
            },
            "cmmdtyReviewInfo": [
              {
                "goodRate": "12",
                "goodReviewCount": "12",
                "totalReviewCount": "123"
              }
            ],
            "commodityInfo": {
              "supplierName": "1",
              "pictureUrl": [
                {
                  "picUrl": "1",
                  "locationId": "1"
                }
              ],
              "priceType": "1",
              "baoyou": "1",
              "sellingPoint": "1",
              "saleStatus": "1",
              "supplierCode": "1",
              "commodityPrice": "1",
              "commodityType": "1",
              "monthSales": "1",
              "snPrice": "1",
              "forbiddenMark": "1",
              "isAct": "1",
              "priceTypeCode": "1",
              "rate": "1",
              "commodityCode": "123",
              "commodityName": "123"
            }
          }
        ]
      }
    }
  }
}
                              
异常示例
  • XML示例
  • JSON示例
复制全部代码

  
  	API异常码
  	异常码中文描述
  

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