API接口目录

自营业务

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

换货打包API

公共参数
请求参数
名称 类型 是否必须 示例值 描述
supplierCodeStringY10000020商家编码
exchangeNoStringY00101316800801换货请求号
响应参数
名称 类型 示例值 描述
exchangeNoString00101316800801换货请求号
resultFlagStringY成功失败标识
expressCompanyCodeStringD04快递公司编码
expressCompanyNameString德邦快递公司名称
expressNoString00101316800801快递单号
mailnoBarcodeString245903634763快递单号条形码
packageCenterCodeString516集包地中心代码
packageCenterNameString南京市集包地中心名称
packageOrderIdString15486186655878664558包裹号
senderBranchJcString311始发网点
shortAddressString516大头笔及二段码
请求示例
  • XML示例
  • JSON示例
复制全部代码
                                
<sn_request>
  <sn_body>
    <modifyExchangepackage>
      <exchangeNo>00101316800801</exchangeNo>
      <supplierCode>10000020</supplierCode>
    </modifyExchangepackage>
  </sn_body>
</sn_request>

			
                                
                                
{
  "sn_request": {
    "sn_body": {
      "modifyExchangepackage": {
        "exchangeNo": "00101316800801",
        "supplierCode": "10000020"
      }
    }
  }
}
			
                                
响应示例
  • XML示例
  • JSON示例
复制全部代码
                              
<sn_responseContent>
  <sn_body>
    <modifyExchangepackage>
      <packageCenterCode>516</packageCenterCode>
      <packageOrderId>15486186655878664558</packageOrderId>
      <expressNo>00101316800801</expressNo>
      <senderBranchJc>311</senderBranchJc>
      <shortAddress>516</shortAddress>
      <expressCompanyCode>D04</expressCompanyCode>
      <packageCenterName>南京市</packageCenterName>
      <exchangeNo>00101316800801</exchangeNo>
      <resultFlag>Y</resultFlag>
      <mailnoBarcode>245903634763</mailnoBarcode>
      <expressCompanyName>德邦</expressCompanyName>
    </modifyExchangepackage>
  </sn_body>
</sn_responseContent>

			
                              
                              
{
  "sn_responseContent": {
    "sn_body": {
      "modifyExchangepackage": {
        "packageCenterCode": "516",
        "packageOrderId": "15486186655878664558",
        "expressNo": "00101316800801",
        "senderBranchJc": "311",
        "shortAddress": "516",
        "expressCompanyCode": "D04",
        "packageCenterName": "南京市",
        "exchangeNo": "00101316800801",
        "resultFlag": "Y",
        "mailnoBarcode": "245903634763",
        "expressCompanyName": "德邦"
      }
    }
  }
}
			
                              
异常示例
  • XML示例
  • JSON示例
复制全部代码

  
  	API异常码
  	异常码中文描述
  

                           	  
{
  "sn_responseContent": {
    "sn_error": {
      "error_code": "API异常码",
      "error_msg": "异常码中文描述"
    }
  }
}
                           		
业务异常码
异常码 错误描述 解决方案
biz.selfmarket.modifyexchangepackage.missing-parameter:* 参数必填 请检查此参数的值,*号表示参数字段名
isp.sys.service.unavailable.somp 服务不可用 请联系苏宁技术人员
biz.selfmarket.modifyexchangepackage.invalid-biz:100 状态已变更或者未查询到订单 请检查订单状态
biz.selfmarket.modifyexchangepackage.invalid-biz:101 商家编码不能为空 请检查此参数的值
biz.selfmarket.modifyexchangepackage.invalid-biz:102 换货请求号不能为空 请检查此参数的值
biz.selfmarket.modifyexchangepackage.invalid-biz:103 同步A130时未获取到chgOrderItemId 请检查OrderBaseMgmt-receiveFactoryDeliOrderStatus接口状态
biz.selfmarket.modifyexchangepackage.invalid-biz:104 同步A130失败 请检查OrderBaseMgmt-receiveFactoryDeliOrderStatus接口状态
biz.selfmarket.modifyexchangepackage.invalid-biz:105 调用打包接口失败 请检查OMSD-PackageOrder-applyPackageSerNum状态
公共异常码
API工具
FAQ