API接口目录

自营业务

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

查询单笔换货订单

公共参数
请求参数
名称 类型 是否必须 示例值 描述
supplierCodeStringY10000020商家编码
workordernumStringN00101316800801换货请求号
omsOrderItemNoStringN00005196454302销售订单行号
响应参数
名称 类型 示例值 描述
orderCodeString00101316800801销售订单号
omsOrderItemNoString00101316800801销售订单行号
workordernumString00101316800801换货请求号
exchangeStatusStringWAIT_SELLER_AGREE换货状态值
exchangeStatusDescString换货待处理换货状态描述
customerServiceFlagString1客服介入标识
createTimeString2018-12-12 12:00:00换货申请时间
countDownTimeString2018-12-12 12:00:00倒计时截止时间
updateTimeString2018-12-12 12:00:00状态修改时间
exchangereasonString尺码问题换货原因
remarkString1换货说明
exchangenumString1换货数量
changeTypeString1换异型标识
exchangecmmdtyNameString小天鹅换货商品名称
suningCmmdtyCodeString1换货苏宁商品编码
exchangecmmdtyCodeString1换货商家商品编码
saleqtyString1交易数量
cmmdtyNameString小天鹅原销售商品名称
cmmdtyCodeString1原销售苏宁商品编码
supplierCmmdtyCodeString1000020原销售商家商品编码
statusString10销售订单状态
customernameString张三收件人姓名
custmobphoneString1110
returnAddressString徐庄苏宁总部收件人地址
expressCompanyNameString德邦退货快递公司
expressCompanyCodeStringD04退货快递编码
userNameString买家昵称买家昵称
expressNoString111111物流单号
请求示例
  • XML示例
  • JSON示例
复制全部代码
                                
<sn_request>
  <sn_body>
    <getQuerysingleexchangegoods>
      <workordernum>00101316800801</workordernum>
      <omsOrderItemNo>00005196454302</omsOrderItemNo>
      <supplierCode>10000020</supplierCode>
    </getQuerysingleexchangegoods>
  </sn_body>
</sn_request>

			
                                
                                
{
  "sn_request": {
    "sn_body": {
      "getQuerysingleexchangegoods": {
        "workordernum": "00101316800801",
        "omsOrderItemNo": "00005196454302",
        "supplierCode": "10000020"
      }
    }
  }
}
			
                                
响应示例
  • XML示例
  • JSON示例
复制全部代码
                              
<sn_responseContent>
  <sn_body>
    <getQuerysingleexchangegoods>
      <custmobphone>1</custmobphone>
      <expressNo>111111</expressNo>
      <cmmdtyCode>1</cmmdtyCode>
      <expressCompanyCode>D04</expressCompanyCode>
      <omsOrderItemNo>00101316800801</omsOrderItemNo>
      <exchangecmmdtyName>小天鹅</exchangecmmdtyName>
      <customerServiceFlag>1</customerServiceFlag>
      <remark>1</remark>
      <countDownTime>2018-12-12 12:00:00</countDownTime>
      <returnAddress>徐庄苏宁总部</returnAddress>
      <exchangereason>尺码问题</exchangereason>
      <suningCmmdtyCode>1</suningCmmdtyCode>
      <exchangeStatus>WAIT_SELLER_AGREE</exchangeStatus>
      <workordernum>00101316800801</workordernum>
      <saleqty>1</saleqty>
      <customername>张三</customername>
      <supplierCmmdtyCode>1000020</supplierCmmdtyCode>
      <exchangenum>1</exchangenum>
      <changeType>1</changeType>
      <cmmdtyName>小天鹅</cmmdtyName>
      <updateTime>2018-12-12 12:00:00</updateTime>
      <userName>买家昵称</userName>
      <exchangecmmdtyCode>1</exchangecmmdtyCode>
      <expressCompanyName>德邦</expressCompanyName>
      <exchangeStatusDesc>换货待处理</exchangeStatusDesc>
      <createTime>2018-12-12 12:00:00</createTime>
      <orderCode>00101316800801</orderCode>
      <status>10</status>
    </getQuerysingleexchangegoods>
  </sn_body>
</sn_responseContent>

			
                              
                              
{
  "sn_responseContent": {
    "sn_body": {
      "getQuerysingleexchangegoods": {
        "custmobphone": "1",
        "expressNo": "111111",
        "cmmdtyCode": "1",
        "expressCompanyCode": "D04",
        "omsOrderItemNo": "00101316800801",
        "exchangecmmdtyName": "小天鹅",
        "customerServiceFlag": "1",
        "remark": "1",
        "countDownTime": "2018-12-12 12:00:00",
        "returnAddress": "徐庄苏宁总部",
        "exchangereason": "尺码问题",
        "suningCmmdtyCode": "1",
        "exchangeStatus": "WAIT_SELLER_AGREE",
        "workordernum": "00101316800801",
        "saleqty": "1",
        "customername": "张三",
        "supplierCmmdtyCode": "1000020",
        "exchangenum": "1",
        "changeType": "1",
        "cmmdtyName": "小天鹅",
        "updateTime": "2018-12-12 12:00:00",
        "userName": "买家昵称",
        "exchangecmmdtyCode": "1",
        "expressCompanyName": "德邦",
        "exchangeStatusDesc": "换货待处理",
        "createTime": "2018-12-12 12:00:00",
        "orderCode": "00101316800801",
        "status": "10"
      }
    }
  }
}
			
                              
异常示例
  • XML示例
  • JSON示例
复制全部代码

  
  	API异常码
  	异常码中文描述
  

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