API接口目录

网盟业务

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

根据时间及条数批量查询订单

公共参数
请求参数
名称 类型 是否必须 示例值 描述
pageNoStringN1页码
pageSizeStringN10每页条数
startTimeStringN1578985200000开始时间
endTimeStringN1578985200000结束时间
orderIdStringN35499999921订单行号
响应参数
名称 类型 示例值 描述
orderIdString38404277469订单行号
buyerIdString1578985200000下单人易购会员编码
orderPriceString2770订单价格,单位:分
payStatusString0付款状态 0、未付款 1、已付款
closeTypeString1订单关闭原因。1、订单完成关闭2、退款关闭3、纠纷关闭
timeInfoString
orderTimeString1578987802000下单时间
payTimeString1578987814000付款时间
refundTimeString1578985200000退款时间
orderFinishTimeString1578985200000确认收货时间
settleTimeString1578985200000结算时间
updateDateString1578987802000更新时间
amountInfoString
totalAmountString2770订单金额,单位为分
commissionRateString21推客佣金比例
payAmountString2770实际支付金额
estimateCosPriceString0推客预估计佣金额,单位为分
platformCommissionRateStringplatformCommissionRate平台佣金比例,千分比
settleAmountString2770结算金额,单位为分
platformEstimateCosPriceString277平台预估计佣金额,单位为分
orderStatusString
settleStatusString00:未结算;1:已结算
parentIdString38404172416订单号
pidString101220022推广人易购会员编码
relItemIdString121307256商品id
traceIdString2770用户追踪标识
itemPicUrlStringhttps://uimgpre.cnsuning.com/uimg/b2c/newcatentries/0010001242-000000000121307256_1.jpg_800w_800h_4e商品图片
itemTitleStringApple iPhone 6 Plus-下单后改名商品名称
itemPriceString2770商品价格,单位:分
itemNumString1商品数量
subSideRateString10分成比例。
promotionString0是否风控(0:未风控,1:风控)
relShopIdString7018120455店铺编码
请求示例
  • XML示例
  • JSON示例
复制全部代码
                                
<sn_request>
  <sn_body>
    <queryOrderinfo>
      <orderId>35499999921</orderId>
      <pageNo>1</pageNo>
      <pageSize>10</pageSize>
      <startTime>1578985200000</startTime>
      <endTime>1578985200000</endTime>
    </queryOrderinfo>
  </sn_body>
</sn_request>

			
                                
                                
{
  "sn_request": {
    "sn_body": {
      "queryOrderinfo": {
        "orderId": "35499999921",
        "pageNo": "1",
        "pageSize": "10",
        "startTime": "1578985200000",
        "endTime": "1578985200000"
      }
    }
  }
}
			
                                
响应示例
  • XML示例
  • JSON示例
复制全部代码
                              
<sn_responseContent>
  <sn_head>
    <totalSize>1</totalSize>
    <pageTotal>1</pageTotal>
    <pageNo>1</pageNo>
    <returnMessage>biz.handler.data-get:success</returnMessage>
  </sn_head>
  <sn_body>
    <queryOrderinfo>
      <timeInfo>
        <updateDate>1578987802000</updateDate>
        <orderTime>1578987802000</orderTime>
        <settleTime>1578985200000</settleTime>
        <payTime>1578987814000</payTime>
        <refundTime>1578985200000</refundTime>
        <orderFinishTime>1578985200000</orderFinishTime>
      </timeInfo>
      <orderId>38404277469</orderId>
      <orderStatus>
        <traceId>2770</traceId>
        <itemPicUrl>https://uimgpre.cnsuning.com/uimg/b2c/newcatentries/0010001242-000000000121307256_1.jpg_800w_800h_4e</itemPicUrl>
        <itemTitle>Apple iPhone 6 Plus-下单后改名</itemTitle>
        <settleStatus>0</settleStatus>
        <orderStatus>
          <traceId>2770</traceId>
          <itemPicUrl>https://uimgpre.cnsuning.com/uimg/b2c/newcatentries/0010001242-000000000121307256_1.jpg_800w_800h_4e</itemPicUrl>
          <itemTitle>Apple iPhone 6 Plus-下单后改名</itemTitle>
          <settleStatus>0</settleStatus>
          <orderStatus>2</orderStatus>
          <pid>101220022</pid>
          <relShopId>7018120455</relShopId>
          <parentId>38404172416</parentId>
          <itemNum>1</itemNum>
          <relItemId>121307256</relItemId>
          <itemPrice>2770</itemPrice>
          <subSideRate>10</subSideRate>
          <promotion>0</promotion>
        </orderStatus>
        <pid>101220022</pid>
        <relShopId>7018120455</relShopId>
        <parentId>38404172416</parentId>
        <itemNum>1</itemNum>
        <relItemId>121307256</relItemId>
        <itemPrice>2770</itemPrice>
        <subSideRate>10</subSideRate>
        <promotion>0</promotion>
      </orderStatus>
      <orderPrice>2770</orderPrice>
      <amountInfo>
        <totalAmount>2770</totalAmount>
        <commissionRate>21</commissionRate>
        <estimateCosPrice>0</estimateCosPrice>
        <payAmount>2770</payAmount>
        <platformEstimateCosPrice>277</platformEstimateCosPrice>
        <platformCommissionRate>platformCommissionRate</platformCommissionRate>
        <settleAmount>2770</settleAmount>
      </amountInfo>
      <buyerId>1578985200000</buyerId>
      <closeType>1</closeType>
      <payStatus>0</payStatus>
    </queryOrderinfo>
  </sn_body>
</sn_responseContent>

			
                              
                              
{
  "sn_responseContent": {
    "sn_head": {
      "totalSize": "1",
      "pageTotal": "1",
      "pageNo": "1",
      "returnMessage": "biz.handler.data-get:success"
    },
    "sn_body": {
      "queryOrderinfo": [
        {
          "timeInfo": {
            "updateDate": "1578987802000",
            "orderTime": "1578987802000",
            "settleTime": "1578985200000",
            "payTime": "1578987814000",
            "refundTime": "1578985200000",
            "orderFinishTime": "1578985200000"
          },
          "orderId": "38404277469",
          "orderStatus": {
            "traceId": "2770",
            "itemPicUrl": "https://uimgpre.cnsuning.com/uimg/b2c/newcatentries/0010001242-000000000121307256_1.jpg_800w_800h_4e",
            "itemTitle": "Apple iPhone 6 Plus-下单后改名",
            "settleStatus": "0",
            "orderStatus": {
              "traceId": "2770",
              "itemPicUrl": "https://uimgpre.cnsuning.com/uimg/b2c/newcatentries/0010001242-000000000121307256_1.jpg_800w_800h_4e",
              "itemTitle": "Apple iPhone 6 Plus-下单后改名",
              "settleStatus": "0",
              "orderStatus": "2",
              "pid": "101220022",
              "relShopId": "7018120455",
              "parentId": "38404172416",
              "itemNum": "1",
              "relItemId": "121307256",
              "itemPrice": "2770",
              "subSideRate": "10",
              "promotion": "0"
            },
            "pid": "101220022",
            "relShopId": "7018120455",
            "parentId": "38404172416",
            "itemNum": "1",
            "relItemId": "121307256",
            "itemPrice": "2770",
            "subSideRate": "10",
            "promotion": "0"
          },
          "orderPrice": "2770",
          "amountInfo": {
            "totalAmount": "2770",
            "commissionRate": "21",
            "estimateCosPrice": "0",
            "payAmount": "2770",
            "platformEstimateCosPrice": "277",
            "platformCommissionRate": "platformCommissionRate",
            "settleAmount": "2770"
          },
          "buyerId": "1578985200000",
          "closeType": "1",
          "payStatus": "0"
        }
      ]
    }
  }
}
			
                              
异常示例
  • XML示例
  • JSON示例
复制全部代码

  
  	API异常码
  	异常码中文描述
  

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