API接口目录

苏宁小店业务

门店API
商品API
店铺分类API
配送范围API
促销API
订单API
取消退款API
异常码自查工具
suning.store.sidesnoneorder.query 苏宁小店单笔订单查询API
¥免费

通过此接口可进行单笔订单的查询。

1、订单号可通过批量获取订单号API、推送已付款订单API、推送已确认订单API、推送已完成订单API获取;

2、订单状态指当前订单总状态,10-已付款 20-已接单 30-交易成功 40-已付未接单取消  50-已退单;

3、订单的实付款=行项目销售额+配送费+餐盒费-满减优惠-优惠劵优惠;

公共参数
请求参数
名称 类型 是否必须 示例值 描述
orderCodeStringY34234234234234订单号
响应参数
名称 类型 示例值 描述
orderSerialNumberString1订单序号
shopCodeString952D苏宁门店编码
supplierShopCodeString952D商家门店编码
orderCodeString110000269178760065订单号
orderStatusString10订单状态
orderTimeString2017-01-01 01:01:01下单时间
omsCreateTimeString2017-01-01 01:01:01订单销售日期
voucherTotalMoneyString2.00满减优惠
remindShipNumString1催单次数
orderRemarkString不吃辣谢谢买家备注
returnOrderFlagString1退款标记
srvModeString01预约/尽快送达标识
hopeArrivalTimeString2017-01-01 01:01:01预约时间
userNameString王成买家姓名
mobphoneNumString1855181111买家手机号
addressString江苏省南京市玄武区苏宁易购总部楼b404项目间买家具体地址(完整地址,包含省市区)
receiverLatitudeString118.892503买家收货地址经度
receiverLongitudeString32.088447买家收货地址纬度
commdityNumString1商品总件数
needInvoiceFlagStringY是否需要发票
invoiceTypeString04发票类型
invoiceHeadString江苏柏亨环保设备有限公司发票抬头
riderMobileString18626429808骑手电话
riderNameString王成骑手姓名
payAmountString25.00实付金额
srvfeeString0.00餐盒费
deliveryFlagString02配送方式
distributionFeeString5.00配送费
orderItemsString
orderItemIdString110000269358433722订单行号
cmmdtyNameString爆柠四季春商品标题
refundFlagString1退款标识位
cmmdtyCodeString10686448992苏宁商品编码
supplierCmCodeStringskt123233商家商品编码
totalAmountString20.00行项目销售额
cscTotalMoneyString22.00行云车销售价总额
saleQtyString1商品件数
couponItemsString
couponTypeCodeString10009券类型编码
couponTypeNameString无敌券券类型名称
couponRuleIdStringC0020034984982券规则编码
couponRuleNameString小店无敌券券规则名称
couponAmountString10.00优惠活动扣减金额
specTypeItemsString
specTypeString1规格类型编码
specTypeNameString甜度规格类型名称
specPriceString0.01价格
specContentString多糖,中糖,少糖规格
orderPayItemsString
payCodeString6901支付方式编码
payNameString微信支付支付方式名称
payAmountString1.00支付方式分摊金额
payTimeString2019-12-01 00:11:22支付时间
alipayPayNoString1231313支付流水号
bankTypeCodeString9994银行种类编码
bankTypeNameString中国银行银行种类名称
cardNoString银行卡号银行卡号
请求示例
  • XML示例
  • JSON示例
复制全部代码
                                
<sn_request>
  <sn_body>
    <querySidesnoneorder>
      <orderCode>34234234234234</orderCode>
    </querySidesnoneorder>
  </sn_body>
</sn_request>

			
                                
                                
{
  "sn_request": {
    "sn_body": {
      "querySidesnoneorder": {
        "orderCode": "34234234234234"
      }
    }
  }
}
			
                                
响应示例
  • XML示例
  • JSON示例
复制全部代码
                              
<sn_responseContent>
  <sn_body>
    <querySidesnoneorder>
      <remindShipNum>1</remindShipNum>
      <riderMobile>18626429808</riderMobile>
      <omsCreateTime>2017-01-01 01:01:01</omsCreateTime>
      <receiverLatitude>118.892503</receiverLatitude>
      <orderRemark>不吃辣谢谢</orderRemark>
      <distributionFee>5.00</distributionFee>
      <orderStatus>10</orderStatus>
      <returnOrderFlag>1</returnOrderFlag>
      <orderItems>
        <totalAmount>20.00</totalAmount>
        <orderPayItems>
          <payAmount>1.00</payAmount>
          <payTime>2019-12-01 00:11:22</payTime>
          <bankTypeCode>9994</bankTypeCode>
          <bankTypeName>中国银行</bankTypeName>
          <alipayPayNo>1231313</alipayPayNo>
          <payCode>6901</payCode>
          <payName>微信支付</payName>
          <cardNo>银行卡号</cardNo>
        </orderPayItems>
        <orderItemId>110000269358433722</orderItemId>
        <cmmdtyCode>10686448992</cmmdtyCode>
        <cmmdtyName>爆柠四季春</cmmdtyName>
        <refundFlag>1</refundFlag>
        <supplierCmCode>skt123233</supplierCmCode>
        <saleQty>1</saleQty>
        <couponItems>
          <couponTypeName>无敌券</couponTypeName>
          <couponRuleName>小店无敌券</couponRuleName>
          <couponAmount>10.00</couponAmount>
          <couponRuleId>C0020034984982</couponRuleId>
          <couponTypeCode>10009</couponTypeCode>
        </couponItems>
        <specTypeItems>
          <specType>1</specType>
          <specTypeName>甜度</specTypeName>
          <specPrice>0.01</specPrice>
          <specContent>多糖,中糖,少糖</specContent>
        </specTypeItems>
        <cscTotalMoney>22.00</cscTotalMoney>
      </orderItems>
      <orderTime>2017-01-01 01:01:01</orderTime>
      <commdityNum>1</commdityNum>
      <payAmount>25.00</payAmount>
      <srvfee>0.00</srvfee>
      <invoiceType>04</invoiceType>
      <hopeArrivalTime>2017-01-01 01:01:01</hopeArrivalTime>
      <deliveryFlag>02</deliveryFlag>
      <shopCode>952D</shopCode>
      <srvMode>01</srvMode>
      <address>江苏省南京市玄武区苏宁易购总部楼b404项目间</address>
      <needInvoiceFlag>Y</needInvoiceFlag>
      <mobphoneNum>1855181111</mobphoneNum>
      <userName>王成</userName>
      <voucherTotalMoney>2.00</voucherTotalMoney>
      <riderName>王成</riderName>
      <invoiceHead>江苏柏亨环保设备有限公司</invoiceHead>
      <supplierShopCode>952D</supplierShopCode>
      <orderCode>110000269178760065</orderCode>
      <receiverLongitude>32.088447</receiverLongitude>
      <orderSerialNumber>1</orderSerialNumber>
    </querySidesnoneorder>
  </sn_body>
</sn_responseContent>

			
                              
                              
{
  "sn_responseContent": {
    "sn_body": {
      "querySidesnoneorder": {
        "remindShipNum": "1",
        "riderMobile": "18626429808",
        "omsCreateTime": "2017-01-01 01:01:01",
        "receiverLatitude": "118.892503",
        "orderRemark": "不吃辣谢谢",
        "distributionFee": "5.00",
        "orderStatus": "10",
        "returnOrderFlag": "1",
        "orderItems": [
          {
            "totalAmount": "20.00",
            "orderPayItems": [
              {
                "payAmount": "1.00",
                "payTime": "2019-12-01 00:11:22",
                "bankTypeCode": "9994",
                "bankTypeName": "中国银行",
                "alipayPayNo": "1231313",
                "payCode": "6901",
                "payName": "微信支付",
                "cardNo": "银行卡号"
              }
            ],
            "orderItemId": "110000269358433722",
            "cmmdtyCode": "10686448992",
            "cmmdtyName": "爆柠四季春",
            "refundFlag": "1",
            "supplierCmCode": "skt123233",
            "saleQty": "1",
            "couponItems": [
              {
                "couponTypeName": "无敌券",
                "couponRuleName": "小店无敌券",
                "couponAmount": "10.00",
                "couponRuleId": "C0020034984982",
                "couponTypeCode": "10009"
              }
            ],
            "specTypeItems": [
              {
                "specType": "1",
                "specTypeName": "甜度",
                "specPrice": "0.01",
                "specContent": "多糖,中糖,少糖"
              }
            ],
            "cscTotalMoney": "22.00"
          }
        ],
        "orderTime": "2017-01-01 01:01:01",
        "commdityNum": "1",
        "payAmount": "25.00",
        "srvfee": "0.00",
        "invoiceType": "04",
        "hopeArrivalTime": "2017-01-01 01:01:01",
        "deliveryFlag": "02",
        "shopCode": "952D",
        "srvMode": "01",
        "address": "江苏省南京市玄武区苏宁易购总部楼b404项目间",
        "needInvoiceFlag": "Y",
        "mobphoneNum": "1855181111",
        "userName": "王成",
        "voucherTotalMoney": "2.00",
        "riderName": "王成",
        "invoiceHead": "江苏柏亨环保设备有限公司",
        "supplierShopCode": "952D",
        "orderCode": "110000269178760065",
        "receiverLongitude": "32.088447",
        "orderSerialNumber": "1"
      }
    }
  }
}
			
                              
异常示例
  • XML示例
  • JSON示例
复制全部代码

  
  	API异常码
  	异常码中文描述
  

                           	  
{
  "sn_responseContent": {
    "sn_error": {
      "error_code": "API异常码",
      "error_msg": "异常码中文描述"
    }
  }
}
                           		
业务异常码
异常码 错误描述 解决方案
biz.store.querysidesnoneorder.missing-parameter:* 参数必填 请检查此参数的值,*号表示参数字段名
biz.store.querysidesnoneorder.format-error:* 参数格式错误 请检查此参数的值,*号表示参数字段名
biz.handler.data-get:no-result 查询没结果 请检查查询参数
isp.sys.service.unavailable.moms 服务不可用 请联系苏宁技术人员
biz.store.querysidesnoneorder.invalid-biz:100 商家编码不能为空 公共参数获取有误,请稍后再试
biz.store.querysidesnoneorder.invalid-biz:101 订单号不能为空 请输入订单号
biz.store.querysidesnoneorder.invalid-biz:102 商家编码格式不正确 公共参数获取有误,请稍后再试
biz.store.querysidesnoneorder.invalid-biz:103 查不到符合的数据,订单头为空 请输入正确订单号
biz.store.querysidesnoneorder.invalid-biz:104 查不到符合的数据,订单行信息为空 请输入正确订单号
biz.store.querysidesnoneorder.invalid-biz:105 查不到符合的数据,组合数据为空 请输入正确订单号
公共异常码
API工具
FAQ