API接口目录

自营业务

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

通过此接口可批量获取退货信息

公共参数
请求参数
名称 类型 是否必须 示例值 描述
beginTimeStringY2015-12-12 12:00:00开始时间。格式:YYYY-MM-DD HH:MM:SS
dealStatusStringN50退货状态。WAIT_SELLER_AGREE:退货待处理; WAIT_BUYER_RETURN_GOODS:待买家退货;WAIT_SELLER_CONFIRM_GOODS:待厂家收货; SELLER_REFUSED:已拒绝退款;SELLER_CONFIRMED:退款处理中;SUCCESS:退款成功;CLOSED:退款关闭
endTimeStringY2016-12-12 12:00:00结束时间。格式:YYYY-MM-DD HH:MM:SS
pageNoStringN1页码
pageSizeStringN10每页数量
supplierCodeStringN70280554商家编码。
响应参数
名称 类型 示例值 描述
applyTimeString2015-12-12 12:00:00退货申请时间。格式:YYYY-MM-DD HH:MM:SS
cmmdtyCodeString107013048商品编码
cmmdtyNameString美的燃热水器商品名称
custMobPhoneStringceshi@163.com买家联系方式
customerNameString张三买家姓名
dealStatusStringWAIT_SELLER_AGREE退货状态。WAIT_SELLER_AGREE:退货待处理;WAIT_BUYER_RETURN_GOODS:待买家退货;WAIT_SELLER_CONFIRM_GOODS:待厂家收货;SELLER_REFUSED:已拒绝退款;SELLER_CONFIRMED:退款处理中;SUCCESS:退款成功;CLOSED:退款关闭。
modifyTimeString2015-12-12 12:00:00退货状态操作时间。格式:YYYY-MM-DD HH:MM:SS
omsCreateTimeString2015-12-12 12:00:00订单创建时间。格式:YYYY-MM-DD HH:MM:SS
omsOrderItemNoString00040761338301销售订单号
priceString100.00销售价。最后交易价
refundFeeString2.00退款金额
returnDescString发货太慢退货说明
returnReasonString发货太慢退货原因
saleQtyString1销售数量
statusString10销售订单状态。10 待发货;40 已发货; 45 已代顾客确认收货;50 顾客已收货;60 单证已寄票;70 顾客已收票
supplierCmmdtyCodeString123456789商家商品编码
workorOrdernumStringK000213278退货请求号
returnQtyString1退货数量
orderCodeString00101316800801B2C订单号
refundAttriString01天猫退款属性,01:仅退款 02:退货退款
workOrderNumString00101316800801工单号
returnTypeString2退货类型 2 货未发 3货已发未收 4货已收
refundTypeString0101退款助手02其他03批量退款04售后助手05售后策略06页面退款07api退款08app退款09小额免审退(货未发平台规则)
companyNameStringS02物流公司编码
expressNoString1111111物流单号
referencePriceString1供应商维护的销售价
cscPriceString1直降、大聚惠的购物车结算价格
returnMoneyDetailString
payNameString易付宝退款方式名称
payAmountString100.00退款方式对应的退款金额
promotionNodeString
shareProcessStateString未生成/无逆向优惠单/已分摊逆向优惠单分摊处理状态
voucherIdString12345689优惠单号
allocatedAmountString12.11分摊金额
请求示例
  • XML示例
  • JSON示例
复制全部代码
                                
<sn_request>
  <sn_body>
    <queryRejected>
      <pageNo>1</pageNo>
      <pageSize>10</pageSize>
      <beginTime>2015-12-12 12:00:00</beginTime>
      <dealStatus>50</dealStatus>
      <endTime>2016-12-12 12:00:00</endTime>
      <supplierCode>70280554</supplierCode>
    </queryRejected>
  </sn_body>
</sn_request>

			
                                
                                
{
  "sn_request": {
    "sn_body": {
      "queryRejected": {
        "pageNo": "1",
        "pageSize": "10",
        "beginTime": "2015-12-12 12:00:00",
        "dealStatus": "50",
        "endTime": "2016-12-12 12:00:00",
        "supplierCode": "70280554"
      }
    }
  }
}
			
                                
响应示例
  • 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>
    <queryRejected>
      <refundFee>2.00</refundFee>
      <omsCreateTime>2015-12-12 12:00:00</omsCreateTime>
      <expressNo>1111111</expressNo>
      <cmmdtyCode>107013048</cmmdtyCode>
      <companyName>S02</companyName>
      <omsOrderItemNo>00040761338301</omsOrderItemNo>
      <returnMoneyDetail>
        <payAmount>100.00</payAmount>
        <payName>易付宝</payName>
      </returnMoneyDetail>
      <returnDesc>发货太慢</returnDesc>
      <refundType>01</refundType>
      <referencePrice>1</referencePrice>
      <modifyTime>2015-12-12 12:00:00</modifyTime>
      <workorOrdernum>K000213278</workorOrdernum>
      <price>100.00</price>
      <returnReason>发货太慢</returnReason>
      <promotionNode>
        <allocatedAmount>12.11</allocatedAmount>
        <voucherId>12345689</voucherId>
        <shareProcessState>未生成/无逆向优惠单/已分摊</shareProcessState>
      </promotionNode>
      <custMobPhone>ceshi@163.com</custMobPhone>
      <refundAttri>01</refundAttri>
      <cscPrice>1</cscPrice>
      <applyTime>2015-12-12 12:00:00</applyTime>
      <supplierCmmdtyCode>123456789</supplierCmmdtyCode>
      <returnQty>1</returnQty>
      <cmmdtyName>美的燃热水器</cmmdtyName>
      <dealStatus>WAIT_SELLER_AGREE</dealStatus>
      <customerName>张三</customerName>
      <workOrderNum>00101316800801</workOrderNum>
      <orderCode>00101316800801</orderCode>
      <saleQty>1</saleQty>
      <returnType>2</returnType>
      <status>10</status>
    </queryRejected>
  </sn_body>
</sn_responseContent>

			
                              
                              
{
  "sn_responseContent": {
    "sn_head": {
      "totalSize": "1",
      "pageTotal": "1",
      "pageNo": "1",
      "returnMessage": "biz.handler.data-get:success"
    },
    "sn_body": {
      "queryRejected": [
        {
          "refundFee": "2.00",
          "omsCreateTime": "2015-12-12 12:00:00",
          "expressNo": "1111111",
          "cmmdtyCode": "107013048",
          "companyName": "S02",
          "omsOrderItemNo": "00040761338301",
          "returnMoneyDetail": [
            {
              "payAmount": "100.00",
              "payName": "易付宝"
            }
          ],
          "returnDesc": "发货太慢",
          "refundType": "01",
          "referencePrice": "1",
          "modifyTime": "2015-12-12 12:00:00",
          "workorOrdernum": "K000213278",
          "price": "100.00",
          "returnReason": "发货太慢",
          "promotionNode": [
            {
              "allocatedAmount": "12.11",
              "voucherId": "12345689",
              "shareProcessState": "未生成/无逆向优惠单/已分摊"
            }
          ],
          "custMobPhone": "ceshi@163.com",
          "refundAttri": "01",
          "cscPrice": "1",
          "applyTime": "2015-12-12 12:00:00",
          "supplierCmmdtyCode": "123456789",
          "returnQty": "1",
          "cmmdtyName": "美的燃热水器",
          "dealStatus": "WAIT_SELLER_AGREE",
          "customerName": "张三",
          "workOrderNum": "00101316800801",
          "orderCode": "00101316800801",
          "saleQty": "1",
          "returnType": "2",
          "status": "10"
        }
      ]
    }
  }
}
			
                              
异常示例
  • XML示例
  • JSON示例
复制全部代码

  
  	API异常码
  	异常码中文描述
  

                           	  
{
  "sn_responseContent": {
    "sn_error": {
      "error_code": "API异常码",
      "error_msg": "异常码中文描述"
    }
  }
}
                           		
业务异常码
异常码 错误描述 解决方案
biz.selfmarket.queryrejected.format-error:* 参数格式错误 请检查此参数的值,*号表示参数字段名
isp.sys.service.unavailable.somp 服务不可用 请联系苏宁技术人员
biz.selfmarket.queryrejected.missing-parameter:* 参数必填 请检查此参数的值,*号表示参数字段名
biz.handler.data-get:no-result 查询没结果 请检查查询参数
isp.sys.service.unavailable.scs 服务不可用 请联系苏宁技术人员
biz.selfmarket.queryrejected.invalid-biz:100 退款状态不正确 请输入正确参数
biz.selfmarket.queryrejected.invalid-biz:101 供应商编码不正确 请输入正确参数。
biz.selfmarket.queryrejected.invalid-biz:102 分页参数页码不正确 请输入正确参数。
biz.selfmarket.queryrejected.invalid-biz:103 分页参数页大小不正确 请输入正确参数。
biz.selfmarket.queryrejected.invalid-biz:104 开始时间格式不正确 请输入正确参数。
biz.selfmarket.queryrejected.invalid-biz:105 结束时间格式不正确 请输入正确参数。
公共异常码
API工具
FAQ

Q:批量获取退货信息接口如何使用?

A:A:通过此接口可批量获取退货信息