查询订单详情接口
<h4>接口方法:</h4>
<ul>
<li>order.query</li>
</ul>
<h4>接口名称:</h4>
<ul>
<li>查询订单详情接口</li>
</ul>
<h4>请求方式:</h4>
<ul>
<li>POST</li>
</ul>
<h4>数据格式:</h4>
<ul>
<li>application/json</li>
</ul>
<h1>请求地址</h1>
<table>
<thead>
<tr>
<th>环境</th>
<th>HTTPS地址</th>
</tr>
</thead>
<tbody>
<tr>
<td>正式环境</td>
<td></td>
</tr>
<tr>
<td>沙箱环境</td>
<td><a href="https://test.jpsdt.com/openapi/api/getway">https://test.jpsdt.com/openapi/api/getway</a></td>
</tr>
</tbody>
</table>
<h1>公共请求参数</h1>
<table>
<thead>
<tr>
<th>参数名称</th>
<th>字段类型</th>
<th>是否必填</th>
<th>最大长度</th>
<th>示例值</th>
<th>描述</th>
</tr>
</thead>
<tbody>
<tr>
<td>customerId</td>
<td>string</td>
<td>是</td>
<td>9</td>
<td>1648051962</td>
<td>客户ID(平台分配)</td>
</tr>
<tr>
<td>method</td>
<td>string</td>
<td>是</td>
<td>128</td>
<td>order.query</td>
<td>接口方法名称</td>
</tr>
<tr>
<td>timestamp</td>
<td>string</td>
<td>是</td>
<td>192</td>
<td>2023-12-19 10:23:06</td>
<td>时间戳,格式为:yyyy-MM-dd HH:mm:ss</td>
</tr>
<tr>
<td>version</td>
<td>string</td>
<td>是</td>
<td>3</td>
<td>1.0</td>
<td>调用的接口版本</td>
</tr>
<tr>
<td>sign</td>
<td>string</td>
<td>是</td>
<td>344</td>
<td>详见示例</td>
<td>签名串,签名规则详见左侧菜单:接口规范->签名规则</td>
</tr>
<tr>
<td>bizContent</td>
<td>string</td>
<td>是</td>
<td></td>
<td>"{\"customerOrderNo\":\"1814284908584300544\"}"</td>
<td>请求参数集合<br>注意:该参数是以json字符串的形式传输</td>
</tr>
</tbody>
</table>
<h1>请求参数</h1>
<table>
<thead>
<tr>
<th>参数名称</th>
<th>字段类型</th>
<th>是否必填</th>
<th>最大长度</th>
<th>示例值</th>
<th>描述</th>
</tr>
</thead>
<tbody>
<tr>
<td>customerOrderNo</td>
<td>String</td>
<td>是</td>
<td>32</td>
<td>1814284908584300544</td>
<td>客户订单号</td>
</tr>
</tbody>
</table>
<h1>公共响应参数</h1>
<table>
<thead>
<tr>
<th>参数名称</th>
<th>字段类型</th>
<th>是否必填</th>
<th>最大长度</th>
<th>示例值</th>
<th>描述</th>
</tr>
</thead>
<tbody>
<tr>
<td>code</td>
<td>String</td>
<td>是</td>
<td>6</td>
<td>0</td>
<td>返回码,详见《业务场景码》</td>
</tr>
<tr>
<td>message</td>
<td>String</td>
<td>是</td>
<td></td>
<td>接口调用成功</td>
<td>返回码描述,详见《业务场景码》</td>
</tr>
<tr>
<td>data</td>
<td>Object</td>
<td>是</td>
<td></td>
<td></td>
<td>响应结果集</td>
</tr>
</tbody>
</table>
<h1>响应参数</h1>
<table>
<thead>
<tr>
<th>参数名称</th>
<th>字段类型</th>
<th>是否必填</th>
<th>最大长度</th>
<th>示例值</th>
<th>描述</th>
</tr>
</thead>
<tbody>
<tr>
<td>orderId</td>
<td>String</td>
<td>是</td>
<td></td>
<td>20240719210328642</td>
<td>平台订单ID</td>
</tr>
<tr>
<td>customerId</td>
<td>String</td>
<td>是</td>
<td></td>
<td>1648051962</td>
<td>客户ID</td>
</tr>
<tr>
<td>customerOrderNo</td>
<td>String</td>
<td>是</td>
<td></td>
<td>1814284908584300544</td>
<td>客户订单号</td>
</tr>
<tr>
<td>params</td>
<td>String</td>
<td>是</td>
<td></td>
<td>null</td>
<td>其它参数(如:支付宝红包openId等)</td>
</tr>
<tr>
<td>account</td>
<td>String</td>
<td>是</td>
<td></td>
<td>13971115867</td>
<td>充值账号</td>
</tr>
<tr>
<td>parvalue</td>
<td>String</td>
<td>是</td>
<td></td>
<td>5.0000</td>
<td>面值</td>
</tr>
<tr>
<td>num</td>
<td>String</td>
<td>是</td>
<td></td>
<td>1</td>
<td>购买数量</td>
</tr>
<tr>
<td>sellPrice</td>
<td>String</td>
<td>是</td>
<td></td>
<td>3.9500</td>
<td>售价</td>
</tr>
<tr>
<td>totalSellPrice</td>
<td>String</td>
<td>是</td>
<td></td>
<td>3.9500</td>
<td>销售总价</td>
</tr>
<tr>
<td>goodsId</td>
<td>String</td>
<td>是</td>
<td></td>
<td>20000173</td>
<td>商品ID</td>
</tr>
<tr>
<td>goodsName</td>
<td>String</td>
<td>是</td>
<td></td>
<td>美团外卖代金券直充5元</td>
<td>商品类型</td>
</tr>
<tr>
<td>goodsType</td>
<td>String</td>
<td>是</td>
<td></td>
<td>直充</td>
<td>商品类型</td>
</tr>
<tr>
<td>category</td>
<td>String</td>
<td>是</td>
<td></td>
<td>生活出行</td>
<td>商品品类</td>
</tr>
<tr>
<td>cards</td>
<td>String</td>
<td>是</td>
<td></td>
<td>null</td>
<td>卡密信息</td>
</tr>
<tr>
<td>failInfo</td>
<td>String</td>
<td>是</td>
<td></td>
<td>null</td>
<td>失败原因</td>
</tr>
<tr>
<td>status</td>
<td>String</td>
<td>是</td>
<td></td>
<td>进行中</td>
<td>订单状态:待处理、进行中、处理成功、处理失败</td>
</tr>
<tr>
<td>refundStatus</td>
<td>String</td>
<td>是</td>
<td></td>
<td>--</td>
<td>退款状态:默认、待退款、退款成功、退款失败</td>
</tr>
<tr>
<td>finishTime</td>
<td>String</td>
<td>是</td>
<td></td>
<td>null</td>
<td>完成时间</td>
</tr>
<tr>
<td>refundTime</td>
<td>String</td>
<td>是</td>
<td></td>
<td>null</td>
<td>退款时间</td>
</tr>
<tr>
<td>createTime</td>
<td>String</td>
<td>是</td>
<td></td>
<td>2024-07-19 21:03:28</td>
<td>创建时间</td>
</tr>
<tr>
<td>updateTime</td>
<td>String</td>
<td>是</td>
<td></td>
<td>null</td>
<td>退款时间</td>
</tr>
</tbody>
</table>
<h1>请求示例</h1>
<pre><code>{
&quot;customerId&quot;:&quot;1648051962&quot;,
&quot;method&quot;:&quot;order.query&quot;,
&quot;timestamp&quot;:&quot;2024-07-22 14:15:44&quot;,
&quot;version&quot;:&quot;1.0&quot;,
&quot;sign&quot;:&quot;d48f1a0dc9e48501bbd67a4e69ab9a14&quot;,
&quot;bizContent&quot;:&quot;{\&quot;customerOrderNo\&quot;:\&quot;1814284908584300544\&quot;}&quot;
}</code></pre>
<h1>响应示例</h1>
<pre><code>{
&quot;code&quot;: &quot;0&quot;,
&quot;message&quot;: &quot;请求成功!&quot;,
&quot;data&quot;: {
&quot;orderId&quot;: &quot;20240719210328642&quot;,
&quot;customerId&quot;: &quot;1648051962&quot;,
&quot;customerOrderNo&quot;: &quot;1814284908584300544&quot;,
&quot;params&quot;: null,
&quot;account&quot;: &quot;13971115867&quot;,
&quot;parvalue&quot;: &quot;5.0000&quot;,
&quot;num&quot;: &quot;1&quot;,
&quot;sellPrice&quot;: &quot;3.9500&quot;,
&quot;totalSellPrice&quot;: &quot;3.9500&quot;,
&quot;goodsId&quot;: &quot;20000173&quot;,
&quot;goodsName&quot;: &quot;美团外卖代金券直充5元&quot;,
&quot;goodsType&quot;: &quot;直充&quot;,
&quot;category&quot;: &quot;生活出行&quot;,
&quot;cards&quot;: null,
&quot;failInfo&quot;: null,
&quot;status&quot;: &quot;进行中&quot;,
&quot;refundStatus&quot;: &quot;--&quot;,
&quot;finishTime&quot;: null,
&quot;refundTime&quot;: null,
&quot;createTime&quot;: &quot;2024-07-19 21:03:28&quot;,
&quot;updateTime&quot;: &quot;null&quot;
}
}</code></pre>
<h1>异常示例</h1>
<pre><code>{
&quot;code&quot;: -1,
&quot;message&quot;: &quot;请求异常&quot;,
&quot;data&quot;: &quot;&quot;,
}</code></pre>