查询订单
<p>查询订单</p>
<h5>简要描述</h5>
<ul>
<li>无</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>{host}/api/open/query_orders</code></li>
</ul>
<h5>请求方式</h5>
<ul>
<li>post</li>
</ul>
<h5>Header</h5>
<table>
<thead>
<tr>
<th>字段名</th>
<th>示例值</th>
<th>必选</th>
<th>类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td>apikey</td>
<td>6519827339</td>
<td>是</td>
<td>string</td>
<td>apikey</td>
</tr>
<tr>
<td>timestamp</td>
<td>1724288542</td>
<td>是</td>
<td>string</td>
<td>时间戳</td>
</tr>
<tr>
<td>sign</td>
<td>2fb775334b02d663127a8a9fd1edbc64</td>
<td>是</td>
<td>string</td>
<td>签名</td>
</tr>
<tr>
<td>accept</td>
<td>application/json</td>
<td>是</td>
<td>string</td>
<td>accept</td>
</tr>
<tr>
<td>content-type</td>
<td>application/json;charset=UTF-8</td>
<td>是</td>
<td>string</td>
<td>content-type</td>
</tr>
<tr>
<td>lang</td>
<td>en-us</td>
<td>是</td>
<td>string</td>
<td>lang</td>
</tr>
</tbody>
</table>
<h5>请求参数示例</h5>
<pre><code>{
&quot;begin_modify_time&quot;:&quot;2024-11-12 15:15:15&quot;,
&quot;end_modify_time&quot;:&quot;2024-12-30 19:15:15&quot;,
&quot;page&quot;:1,
&quot;page_size&quot;:2,
&quot;order_no&quot;:&quot;DR005814355843787&quot;,
&quot;reference_no&quot;:&quot;Thinkcar19947&quot;
}</code></pre>
<h5>请求json字段说明</h5>
<table>
<thead>
<tr>
<th>字段名</th>
<th>必选</th>
<th>类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td>begin_modify_time</td>
<td>否</td>
<td>string</td>
<td>修改开始时间</td>
</tr>
<tr>
<td>end_modify_time</td>
<td>否</td>
<td>string</td>
<td>修改结束时间</td>
</tr>
<tr>
<td>page</td>
<td>否</td>
<td>string</td>
<td>当前页</td>
</tr>
<tr>
<td>page_size</td>
<td>否</td>
<td>string</td>
<td>每页大小,最大100</td>
</tr>
<tr>
<td>order_no</td>
<td>否</td>
<td>string</td>
<td>订单号</td>
</tr>
<tr>
<td>reference_no</td>
<td>否</td>
<td>string</td>
<td>客户单号</td>
</tr>
</tbody>
</table>
<h5>成功返回示例</h5>
<pre><code>{
&quot;status&quot;: true,
&quot;code&quot;: 1,
&quot;msg&quot;: &quot;获取数据成功&quot;,
&quot;time&quot;: 1736234702,
&quot;data&quot;: [
{
&quot;order_no&quot;: &quot;DR007498691633400&quot;,
&quot;reference_no&quot;: &quot;Thinkcar18366&quot;,
&quot;shipping_method&quot;: &quot;94154933876503&quot;,
&quot;awb_no&quot;: &quot;YT2431721901000941&quot;,
&quot;label_url&quot;: null,
&quot;country_code&quot;: &quot;BG&quot;,
&quot;erp_wh_code&quot;: &quot;星卡科技&quot;,
&quot;weight&quot;: null,
&quot;volume&quot;: null,
&quot;pieces&quot;: null,
&quot;platform&quot;: null,
&quot;platform_no&quot;: null,
&quot;amount&quot;: &quot;161.000000&quot;,
&quot;amount_currency&quot;: &quot;USD&quot;,
&quot;shipper_name&quot;: null,
&quot;shipper_company&quot;: null,
&quot;shipper_country_code&quot;: null,
&quot;shipper_province&quot;: null,
&quot;shipper_city&quot;: null,
&quot;shipper_area&quot;: null,
&quot;shipper_street&quot;: null,
&quot;shipper_postcode&quot;: null,
&quot;shipper_telephone&quot;: null,
&quot;shipper_mobile&quot;: null,
&quot;shipper_email&quot;: null,
&quot;consignee_name&quot;: &quot;Nedelcho Totsev&quot;,
&quot;consignee_company&quot;: null,
&quot;consignee_doorplate&quot;: null,
&quot;consignee_province&quot;: &quot;Sofia&quot;,
&quot;consignee_city&quot;: &quot;Sofia&quot;,
&quot;consignee_area&quot;: &quot;&quot;,
&quot;consignee_street&quot;: &quot;Sofronii Vrachanski str 47Floor 1,Sofia&quot;,
&quot;consignee_street2&quot;: &quot;&quot;,
&quot;consignee_street3&quot;: null,
&quot;consignee_mobile&quot;: &quot;+359888020799&quot;,
&quot;consignee_telephone&quot;: &quot;+359888020799&quot;,
&quot;consignee_email&quot;: &quot;nedeltscho@yahoo.com&quot;,
&quot;consignee_postcode&quot;: &quot;1303&quot;,
&quot;consignee_tax_no&quot;: &quot;Nedelcho Totsev&quot;,
&quot;create_time&quot;: &quot;2025-01-07 13:51:09&quot;,
&quot;send_time&quot;: &quot;2024-11-13 09:25:34&quot;,
&quot;modify_time&quot;: &quot;2024-11-13 09:25:36&quot;
},
{
&quot;order_no&quot;: &quot;DR007498715025667&quot;,
&quot;reference_no&quot;: &quot;Thinkcar18384&quot;,
&quot;shipping_method&quot;: &quot;94154933876503&quot;,
&quot;awb_no&quot;: &quot;YT2431721901000900&quot;,
&quot;label_url&quot;: null,
&quot;country_code&quot;: &quot;US&quot;,
&quot;erp_wh_code&quot;: &quot;星卡科技&quot;,
&quot;weight&quot;: null,
&quot;volume&quot;: null,
&quot;pieces&quot;: null,
&quot;platform&quot;: null,
&quot;platform_no&quot;: null,
&quot;amount&quot;: &quot;161.000000&quot;,
&quot;amount_currency&quot;: &quot;USD&quot;,
&quot;shipper_name&quot;: null,
&quot;shipper_company&quot;: null,
&quot;shipper_country_code&quot;: null,
&quot;shipper_province&quot;: null,
&quot;shipper_city&quot;: null,
&quot;shipper_area&quot;: null,
&quot;shipper_street&quot;: null,
&quot;shipper_postcode&quot;: null,
&quot;shipper_telephone&quot;: null,
&quot;shipper_mobile&quot;: null,
&quot;shipper_email&quot;: null,
&quot;consignee_name&quot;: &quot;Miguel Garcia&quot;,
&quot;consignee_company&quot;: null,
&quot;consignee_doorplate&quot;: null,
&quot;consignee_province&quot;: &quot;California&quot;,
&quot;consignee_city&quot;: &quot;Bakersfield&quot;,
&quot;consignee_area&quot;: &quot;&quot;,
&quot;consignee_street&quot;: &quot;107 Coverdale Court,Bakersfield,California&quot;,
&quot;consignee_street2&quot;: &quot;&quot;,
&quot;consignee_street3&quot;: null,
&quot;consignee_mobile&quot;: &quot;6614778002&quot;,
&quot;consignee_telephone&quot;: &quot;6614778002&quot;,
&quot;consignee_email&quot;: &quot;mag.10angel@gmail.com&quot;,
&quot;consignee_postcode&quot;: &quot;93307&quot;,
&quot;consignee_tax_no&quot;: &quot;Miguel Garcia&quot;,
&quot;create_time&quot;: &quot;2025-01-07 13:51:11&quot;,
&quot;send_time&quot;: &quot;2024-11-13 09:25:42&quot;,
&quot;modify_time&quot;: &quot;2024-11-13 09:25:44&quot;
}
],
&quot;log_id&quot;: &quot;ec03fa23309f2fade246c6d420783e69&quot;
}</code></pre>
<h5>成功返回示例的参数说明</h5>
<table>
<thead>
<tr>
<th>参数名</th>
<th>类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td>status</td>
<td>string</td>
<td>无</td>
</tr>
<tr>
<td>code</td>
<td>string</td>
<td>1:成功 ,0: 失败</td>
</tr>
<tr>
<td>msg</td>
<td>string</td>
<td>提示信息</td>
</tr>
<tr>
<td>time</td>
<td>string</td>
<td>无</td>
</tr>
<tr>
<td>data</td>
<td>array</td>
<td>无</td>
</tr>
<tr>
<td>order_no</td>
<td>string</td>
<td>订单号</td>
</tr>
<tr>
<td>reference_no</td>
<td>string</td>
<td>客户单号</td>
</tr>
<tr>
<td>shipping_method</td>
<td>string</td>
<td>物流渠道</td>
</tr>
<tr>
<td>awb_no</td>
<td>string</td>
<td>运单号</td>
</tr>
<tr>
<td>label_url</td>
<td>object</td>
<td>物流标签地址</td>
</tr>
<tr>
<td>country_code</td>
<td>string</td>
<td>国家二字码</td>
</tr>
<tr>
<td>erp_wh_code</td>
<td>string</td>
<td>关联仓库代码</td>
</tr>
<tr>
<td>weight</td>
<td>object</td>
<td>重量</td>
</tr>
<tr>
<td>volume</td>
<td>object</td>
<td>体积</td>
</tr>
<tr>
<td>pieces</td>
<td>object</td>
<td>件数</td>
</tr>
<tr>
<td>platform</td>
<td>object</td>
<td>平台</td>
</tr>
<tr>
<td>platform_no</td>
<td>object</td>
<td>平台单号</td>
</tr>
<tr>
<td>amount</td>
<td>double</td>
<td>订单总金额</td>
</tr>
<tr>
<td>amount_currency</td>
<td>string</td>
<td>订单总金额币种</td>
</tr>
<tr>
<td>shipper_name</td>
<td>object</td>
<td>发件人名称</td>
</tr>
<tr>
<td>shipper_company</td>
<td>object</td>
<td>发件人公司</td>
</tr>
<tr>
<td>shipper_country_code</td>
<td>object</td>
<td>发件人国家二字码</td>
</tr>
<tr>
<td>shipper_province</td>
<td>object</td>
<td>发件人省份</td>
</tr>
<tr>
<td>shipper_city</td>
<td>object</td>
<td>发件人城市</td>
</tr>
<tr>
<td>shipper_area</td>
<td>object</td>
<td>发件人区县</td>
</tr>
<tr>
<td>shipper_street</td>
<td>object</td>
<td>发件人详细地址</td>
</tr>
<tr>
<td>shipper_postcode</td>
<td>object</td>
<td>发件人邮编</td>
</tr>
<tr>
<td>shipper_telephone</td>
<td>object</td>
<td>发件人联系电话</td>
</tr>
<tr>
<td>shipper_mobile</td>
<td>object</td>
<td>发件人联系手机</td>
</tr>
<tr>
<td>shipper_email</td>
<td>object</td>
<td>发件人邮箱</td>
</tr>
<tr>
<td>consignee_name</td>
<td>string</td>
<td>收货人名称</td>
</tr>
<tr>
<td>consignee_company</td>
<td>object</td>
<td>收货人公司</td>
</tr>
<tr>
<td>consignee_doorplate</td>
<td>object</td>
<td>收货人门牌号</td>
</tr>
<tr>
<td>consignee_province</td>
<td>string</td>
<td>收货人省份</td>
</tr>
<tr>
<td>consignee_city</td>
<td>string</td>
<td>收货人城市</td>
</tr>
<tr>
<td>consignee_area</td>
<td>string</td>
<td>收货人区县</td>
</tr>
<tr>
<td>consignee_street</td>
<td>string</td>
<td>收货人详细地址</td>
</tr>
<tr>
<td>consignee_street2</td>
<td>string</td>
<td>收货人详细地址二</td>
</tr>
<tr>
<td>consignee_street3</td>
<td>object</td>
<td>收货人详细地址三</td>
</tr>
<tr>
<td>consignee_mobile</td>
<td>string</td>
<td>收货人联系手机</td>
</tr>
<tr>
<td>consignee_telephone</td>
<td>string</td>
<td>收货人详细电话</td>
</tr>
<tr>
<td>consignee_email</td>
<td>string</td>
<td>收货人邮箱</td>
</tr>
<tr>
<td>consignee_postcode</td>
<td>string</td>
<td>收货人邮编</td>
</tr>
<tr>
<td>consignee_tax_no</td>
<td>string</td>
<td>税号</td>
</tr>
<tr>
<td>create_time</td>
<td>string</td>
<td>订单创建时间</td>
</tr>
<tr>
<td>send_time</td>
<td>string</td>
<td>发货时间</td>
</tr>
<tr>
<td>modify_time</td>
<td>string</td>
<td>最后修改时间</td>
</tr>
<tr>
<td>log_id</td>
<td>string</td>
<td>日志ID</td>
</tr>
</tbody>
</table>
<h5>失败返回示例</h5>
<pre><code>{
&quot;code&quot;: 0,
&quot;msg&quot;: &quot;授权信息错误&quot;,
&quot;data&quot;: [],
&quot;track_id&quot;: &quot;c89e2eb69734e100934a830167fe7f1a&quot;
}</code></pre>
<h5>失败返回示例的参数说明</h5>
<table>
<thead>
<tr>
<th>参数名</th>
<th>类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td>code</td>
<td>string</td>
<td>1:成功 ,0: 失败</td>
</tr>
<tr>
<td>msg</td>
<td>string</td>
<td>提示信息</td>
</tr>
<tr>
<td>data</td>
<td>array</td>
<td>数据</td>
</tr>
<tr>
<td>track_id</td>
<td>string</td>
<td>日志ID</td>
</tr>
</tbody>
</table>