API接口目录

平台业务

商品API
价格API
库存API
销售准备API
交易API
退货退款API(新)
财务API
店铺API
物流API
促销API
分销API
发票API
招商API
换货API
互动营销API
退货退款API
客服API
平台营销API
风控API
会员通API
账房API
财务记账API
异常码自查工具
suning.custom.oneorder.get 单笔采购订单查询
¥免费

单笔采购订单查询

公共参数
请求参数
名称 类型 是否必须 示例值 描述
sdcsOrderIdStringY45445采购订单号
响应参数
名称 类型 示例值 描述
addressString街道具体地址收件人地址
bankAccountString开户行开户行
bankAccountNumberString123123123123银行帐号
cityNameString青岛市收件人地址(市)中文
cmmdtyBandString品牌品牌
cmmdtyCodeString3423424商品编码
cmmdtyNameString商品名称商品名称
customerNameString张三顾客姓名
distributourCodeString12555688分销商编码
districtNameString崂山区收件人地址(区)中文
dutyParagraphString13123123123123税号
invoiceHeaderString发票抬头发票抬头
mobPhoneNumString124575424647买家联系电话
operateStyleString05订单状态。01待发货、02已发货、03确认收货、04退货退款、05退款、06发货失败
orderRemarkString备注说明订单备注
phoneNumString1300000000买家联系电话(座机)
priceString100.00销售价
provinceNameString山东省收件人地址(省)中文
purchasePriceString2222.10采购供价
registeredAddressString南京市宣武区xxx注册地址
registeredPhoneString12312313注册电话
saleQtyString1销售数量
sapProductCodeStringR333商品类目
sdcsCreateTimeString2014-12-12 23:56:53采购订单创建时间
sdcsOrderIdStringSDCS2043553325655SDCS的采购订单号
totalAmountString1000.00销售额
omsCreateTimeString2014-12-12 23:56:53订单支付时间
suppCmmdtyCodeString100000001供应商产品编码
payAmountStringpayAmount应付金额
invoiceTypeStringinvoiceType发票类型
consumerInvoiceString
invoiceHeadString公司发票抬头
needInvoiceFlagStringY-是;N-否是否需要发票,Y-是;N-否
invoiceTypeString01 发票类型,01-增值税发票; 02-普通发票; 03-纸质电子发票; 04-电子发票; 05-不需发票;
taxPayerNoString3423336税纳税人识别号
registerAddressString苏宁大道01号注册地址
registerPhoneNumString02503434344注册电话
accountBankString中国银行开户行
accountNumberString6225454246454565开户账号
invoiceConentString水电费发票内容
taxPayerNameString刘流增值税发票收件人姓名
taxPayerAddressString苏宁大道增值税发票收件人地址
taxPayerPhoneNumString02343346566增值税发票收件人电话
taxPayerMobileNumString123123242增值税发票收件人手机
suppRemarkString备注备注
请求示例
  • XML示例
  • JSON示例
复制全部代码
                                <sn_request>
  <sn_body>
    <getOneorder>
      <sdcsOrderId>45445</sdcsOrderId>
    </getOneorder>
  </sn_body>
</sn_request>

                                
                                {
  "sn_request": {
    "sn_body": {
      "getOneorder": {
        "sdcsOrderId": "45445"
      }
    }
  }
}
                                
响应示例
  • XML示例
  • JSON示例
复制全部代码
                              <sn_responseContent>
  <sn_body>
    <getOneorder>
      <sapProductCode>R333</sapProductCode>
      <omsCreateTime>2014-12-12 23:56:53</omsCreateTime>
      <operateStyle>05</operateStyle>
      <cmmdtyCode>3423424</cmmdtyCode>
      <orderRemark>备注说明</orderRemark>
      <phoneNum>1300000000</phoneNum>
      <purchasePrice>2222.10</purchasePrice>
      <cmmdtyBand>品牌</cmmdtyBand>
      <registeredAddress>南京市宣武区xxx</registeredAddress>
      <payAmount>payAmount</payAmount>
      <cityName>青岛市</cityName>
      <price>100.00</price>
      <sdcsOrderId>SDCS2043553325655</sdcsOrderId>
      <invoiceType>invoiceType</invoiceType>
      <bankAccountNumber>123123123123</bankAccountNumber>
      <bankAccount>开户行</bankAccount>
      <dutyParagraph>13123123123123</dutyParagraph>
      <address>街道具体地址</address>
      <districtName>崂山区</districtName>
      <distributourCode>12555688</distributourCode>
      <suppCmmdtyCode>100000001</suppCmmdtyCode>
      <sdcsCreateTime>2014-12-12 23:56:53</sdcsCreateTime>
      <cmmdtyName>商品名称</cmmdtyName>
      <registeredPhone>12312313</registeredPhone>
      <consumerInvoice>
        <taxPayerMobileNum>123123242</taxPayerMobileNum>
        <invoiceConent>水电费</invoiceConent>
        <needInvoiceFlag>Y-是;N-否</needInvoiceFlag>
        <taxPayerName>刘流</taxPayerName>
        <accountNumber>6225454246454565</accountNumber>
        <taxPayerPhoneNum>02343346566</taxPayerPhoneNum>
        <accountBank>中国银行</accountBank>
        <registerAddress>苏宁大道01号</registerAddress>
        <taxPayerAddress>苏宁大道</taxPayerAddress>
        <invoiceHead>公司</invoiceHead>
        <registerPhoneNum>02503434344</registerPhoneNum>
        <taxPayerNo>3423336</taxPayerNo>
        <invoiceType>01</invoiceType>
      </consumerInvoice>
      <customerName>张三</customerName>
      <mobPhoneNum>124575424647</mobPhoneNum>
      <invoiceHeader>发票抬头</invoiceHeader>
      <totalAmount>1000.00</totalAmount>
      <suppRemark>备注</suppRemark>
      <provinceName>山东省</provinceName>
      <saleQty>1</saleQty>
    </getOneorder>
  </sn_body>
</sn_responseContent>

                              
                              {
  "sn_responseContent": {
    "sn_body": {
      "getOneorder": {
        "sapProductCode": "R333",
        "omsCreateTime": "2014-12-12 23:56:53",
        "operateStyle": "05",
        "cmmdtyCode": "3423424",
        "orderRemark": "备注说明",
        "phoneNum": "1300000000",
        "purchasePrice": "2222.10",
        "cmmdtyBand": "品牌",
        "registeredAddress": "南京市宣武区xxx",
        "payAmount": "payAmount",
        "cityName": "青岛市",
        "price": "100.00",
        "sdcsOrderId": "SDCS2043553325655",
        "invoiceType": "invoiceType",
        "bankAccountNumber": "123123123123",
        "bankAccount": "开户行",
        "dutyParagraph": "13123123123123",
        "address": "街道具体地址",
        "districtName": "崂山区",
        "distributourCode": "12555688",
        "suppCmmdtyCode": "100000001",
        "sdcsCreateTime": "2014-12-12 23:56:53",
        "cmmdtyName": "商品名称",
        "registeredPhone": "12312313",
        "consumerInvoice": [
          {
            "taxPayerMobileNum": "123123242",
            "invoiceConent": "水电费",
            "needInvoiceFlag": "Y-是;N-否",
            "taxPayerName": "刘流",
            "accountNumber": "6225454246454565",
            "taxPayerPhoneNum": "02343346566",
            "accountBank": "中国银行",
            "registerAddress": "苏宁大道01号",
            "taxPayerAddress": "苏宁大道",
            "invoiceHead": "公司",
            "registerPhoneNum": "02503434344",
            "taxPayerNo": "3423336",
            "invoiceType": "01"
          }
        ],
        "customerName": "张三",
        "mobPhoneNum": "124575424647",
        "invoiceHeader": "发票抬头",
        "totalAmount": "1000.00",
        "suppRemark": "备注",
        "provinceName": "山东省",
        "saleQty": "1"
      }
    }
  }
}
                              
异常示例
  • XML示例
  • JSON示例
复制全部代码

  
  	API异常码
  	异常码中文描述
  

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