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.storedeclareinformation.query 海外购订单报关信息查询
¥免费

查询海外购订单报关相关信息,包含:订单支付单号、订单商品行顺序、报关状态等

公共参数
请求参数
名称 类型 是否必须 示例值 描述
packageOrderIdStringYAAAA0011259634690147合并订单号
响应参数
名称 类型 示例值 描述
orderHeadString
checkOrderStatusString0 订单审核状态
checkOrderMsgString宁波海关申报中订单审核意见
checkPayOrderStatusString0支付单审核状态
checkPayOrderMsgString宁波海关申报中支付单审核意见
packageOrderIdString11100000000100087554985合并订单号
payOrderIdStringpAAAA0011259634690147合并支付单号
totalCountString1总件数
freightString10.00支付运费
couponTotalMoneyString10.00优惠金额
tradeTimeString2018-08-20 22:03:16成交时间
customsPortCodeString5141海关口岸
payTimeStrString2018-08-20 22:03:16付款时间
payerNameString张三支付人姓名
payerDocumentNumberString311223199302191234支付人证件号码
orderDetailString
orderItemNoString20190230073B2C订单行号
goodsOrderString1商品序号
commodityCodeString150043219商品编码
goodsNameString海外购直邮仓测试数据_cici011物品名称
goodsCountString1申报数量
请求示例
  • XML示例
  • JSON示例
复制全部代码
                                
<sn_request>
  <sn_body>
    <queryStoredeclareinformation>
      <packageOrderId>AAAA0011259634690147</packageOrderId>
    </queryStoredeclareinformation>
  </sn_body>
</sn_request>

			
                                
                                
{
  "sn_request": {
    "sn_body": {
      "queryStoredeclareinformation": {
        "packageOrderId": "AAAA0011259634690147"
      }
    }
  }
}
			
                                
响应示例
  • XML示例
  • JSON示例
复制全部代码
                              
<sn_responseContent>
  <sn_body>
    <queryStoredeclareinformation>
      <orderDetail>
        <goodsCount>1</goodsCount>
        <orderItemNo>20190230073</orderItemNo>
        <commodityCode>150043219</commodityCode>
        <goodsName>海外购直邮仓测试数据_cici011</goodsName>
        <goodsOrder>1</goodsOrder>
      </orderDetail>
      <orderHead>
        <payOrderId>pAAAA0011259634690147</payOrderId>
        <checkOrderMsg>宁波海关申报中</checkOrderMsg>
        <freight>10.00</freight>
        <checkPayOrderStatus>0</checkPayOrderStatus>
        <customsPortCode>5141</customsPortCode>
        <totalCount>1</totalCount>
        <couponTotalMoney>10.00</couponTotalMoney>
        <tradeTime>2018-08-20 22:03:16</tradeTime>
        <checkOrderStatus>0</checkOrderStatus>
        <packageOrderId>11100000000100087554985</packageOrderId>
        <payTimeStr>2018-08-20 22:03:16</payTimeStr>
        <payerName>张三</payerName>
        <checkPayOrderMsg>宁波海关申报中</checkPayOrderMsg>
        <payerDocumentNumber>311223199302191234</payerDocumentNumber>
      </orderHead>
    </queryStoredeclareinformation>
  </sn_body>
</sn_responseContent>

			
                              
                              
{
  "sn_responseContent": {
    "sn_body": {
      "queryStoredeclareinformation": {
        "orderDetail": [
          {
            "goodsCount": "1",
            "orderItemNo": "20190230073",
            "commodityCode": "150043219",
            "goodsName": "海外购直邮仓测试数据_cici011",
            "goodsOrder": "1"
          }
        ],
        "orderHead": {
          "payOrderId": "pAAAA0011259634690147",
          "checkOrderMsg": "宁波海关申报中",
          "freight": "10.00",
          "checkPayOrderStatus": "0",
          "customsPortCode": "5141",
          "totalCount": "1",
          "couponTotalMoney": "10.00",
          "tradeTime": "2018-08-20 22:03:16",
          "checkOrderStatus": "0",
          "packageOrderId": "11100000000100087554985",
          "payTimeStr": "2018-08-20 22:03:16",
          "payerName": "张三",
          "checkPayOrderMsg": "宁波海关申报中",
          "payerDocumentNumber": "311223199302191234"
        }
      }
    }
  }
}
			
                              
异常示例
  • XML示例
  • JSON示例
复制全部代码

  
  	API异常码
  	异常码中文描述
  

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