API接口目录

自营业务

退厂API
厂送API
厂送退换货API
品牌串码API
采购订单API
供应商收发货API
售后服务API
供应商财务API
主数据API
自营合同API
自营商品API
自营财务API
采购计划API
收发货API
订单API
易道报表API
不良品API
自营促销API
异常码自查工具
suning.selfmarket.receivereturnorder.query 退厂发货单明细查询
¥免费

退厂发货单明细查询。供应商编码必传;收货单号,退厂订单号和时间范围 三个条件必传一个

公共参数
请求参数
名称 类型 是否必须 示例值 描述
pageNoStringN1页码
pageSizeStringN10每页条数
receivedCodeStringN5070825911苏宁发货单号
orderCodeStringN2000123456退厂订单号
supplierCodeStringY10000197供应商编码
startReceivedDateStringN2014-04-21苏宁发货日期结束时间。苏宁收货日期结束时间,格式:yyyy-MM-dd,时间范围为7天。
endReceivedDateStringN2014-04-14苏宁发货日期结束时间。苏宁收货日期结束时间,格式:yyyy-MM-dd,时间范围为7天。
响应参数
名称 类型 示例值 描述
receiptHeadString
receivedCodeString5070825911苏宁发货单号
orderCodeString2000123456退厂订单号
orderTypeStringNB订单类型
receivedDateString2014-05-13发货日期
storeCodeStringD025地点编码
receiptDetailString
orderItemString1行号
rcptQtyString100实发数量
receivedItemString1发货行号
rejectQtyString22拒绝数量
snProductCodeString1232322323商品编码
supplierCodeString10000197供应商编码
snStringBL574548不良品序列号
请求示例
  • XML示例
  • JSON示例
复制全部代码
                                

<sn_request>
  <sn_body>
    <queryReceivereturnorder>
      <endReceivedDate>2014-04-14</endReceivedDate>
      <pageNo>1</pageNo>
      <pageSize>10</pageSize>
      <orderCode>2000123456</orderCode>
      <startReceivedDate>2014-04-21</startReceivedDate>
      <supplierCode>10000197</supplierCode>
      <receivedCode>5070825911</receivedCode>
    </queryReceivereturnorder>
  </sn_body>
</sn_request>

			
			
                                
                                

{
  "sn_request": {
    "sn_body": {
      "queryReceivereturnorder": {
        "endReceivedDate": "2014-04-14",
        "pageNo": "1",
        "pageSize": "10",
        "orderCode": "2000123456",
        "startReceivedDate": "2014-04-21",
        "supplierCode": "10000197",
        "receivedCode": "5070825911"
      }
    }
  }
}
			
			
                                
响应示例
  • 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>
    <queryReceivereturnorder>
      <receiptHead>
        <orderType>NB</orderType>
        <orderCode>2000123456</orderCode>
        <receivedCode>5070825911</receivedCode>
        <receivedDate>2014-05-13</receivedDate>
        <storeCode>D025</storeCode>
      </receiptHead>
      <receiptDetail>
        <rejectQty>22</rejectQty>
        <receivedItem>1</receivedItem>
        <orderItem>1</orderItem>
        <rcptQty>100</rcptQty>
        <snProductCode>1232322323</snProductCode>
        <supplierCode>10000197</supplierCode>
        <sn>BL574548</sn>
      </receiptDetail>
    </queryReceivereturnorder>
  </sn_body>
</sn_responseContent>

			
			
                              
                              

{
  "sn_responseContent": {
    "sn_head": {
      "totalSize": "1",
      "pageTotal": "1",
      "pageNo": "1",
      "returnMessage": "biz.handler.data-get:success"
    },
    "sn_body": {
      "queryReceivereturnorder": [
        {
          "receiptHead": {
            "orderType": "NB",
            "orderCode": "2000123456",
            "receivedCode": "5070825911",
            "receivedDate": "2014-05-13",
            "storeCode": "D025"
          },
          "receiptDetail": [
            {
              "rejectQty": "22",
              "receivedItem": "1",
              "orderItem": "1",
              "rcptQty": "100",
              "snProductCode": "1232322323",
              "supplierCode": "10000197",
              "sn": "BL574548"
            }
          ]
        }
      ]
    }
  }
}
			
			
                              
异常示例
  • XML示例
  • JSON示例
复制全部代码

  
  	API异常码
  	异常码中文描述
  

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