商品列表查询
<h3>商品列表查询</h3>
<p><strong>URL:</strong> /v1/openapi/order/product/list</p>
<p><strong>Type:</strong> POST</p>
<p><strong>Content-Type:</strong> application/json; charset=utf-8</p>
<p><strong>Description:</strong> 商品列表查询</p>
<p><strong>Request-headers:</strong></p>
<table>
<thead>
<tr>
<th>Header</th>
<th>Type</th>
<th>Description</th>
<th>Required</th>
<th>Since</th>
</tr>
</thead>
<tbody>
<tr>
<td>businessId</td>
<td>string</td>
<td>业务ID,由平台提供</td>
<td>true</td>
<td>-</td>
</tr>
<tr>
<td>nonce</td>
<td>string</td>
<td>随机字符串,需保证每次请求不同</td>
<td>true</td>
<td>-</td>
</tr>
<tr>
<td>timestamp</td>
<td>string</td>
<td>时间戳,毫秒值</td>
<td>true</td>
<td>-</td>
</tr>
<tr>
<td>sign</td>
<td>string</td>
<td>签名值</td>
<td>true</td>
<td>-</td>
</tr>
<tr>
<td>signType</td>
<td>string</td>
<td>签名方式:SHA256-RSA、MD5。默认:SHA256-RSA</td>
<td>false</td>
</tr>
</tbody>
</table>
<p><strong>Body-parameters:</strong></p>
<table>
<thead>
<tr>
<th>Parameter</th>
<th>Type</th>
<th>Description</th>
<th>Required</th>
<th>Since</th>
</tr>
</thead>
<tbody>
<tr>
<td>merchantId</td>
<td>string</td>
<td>商家ID</td>
<td>true</td>
<td>-</td>
</tr>
</tbody>
</table>
<p><strong>Request-example:</strong></p>
<pre><code>curl -X POST -H &#039;Content-Type: application/json; charset=utf-8&#039; -H &#039;businessId:55&#039; -H &#039;nonce:55&#039; -H &#039;timestamp:1628757969177&#039; -H &#039;sign:55&#039; -i /v1/openapi/order/product/list --data &#039;{
&quot;merchantId&quot;: &quot;33976xxadsgaewgadfg&quot;
}&#039;</code></pre>
<p><strong>Response-fields:</strong></p>
<table>
<thead>
<tr>
<th>Field</th>
<th>Type</th>
<th>Description</th>
<th>Since</th>
</tr>
</thead>
<tbody>
<tr>
<td>status</td>
<td>int32</td>
<td>状态码</td>
<td>-</td>
</tr>
<tr>
<td>message</td>
<td>string</td>
<td>返回消息</td>
<td>-</td>
</tr>
<tr>
<td>data</td>
<td>Array</td>
<td>产品集合</td>
<td>-</td>
</tr>
<tr>
<td>└─productName</td>
<td>string</td>
<td>商品名称</td>
<td>-</td>
</tr>
<tr>
<td>└─productCode</td>
<td>string</td>
<td>商品编码</td>
<td>-</td>
</tr>
<tr>
<td>└─productType</td>
<td>int32</td>
<td>商品类型:1-话费,3-会员,4-券码,7 加油卡</td>
<td>-</td>
</tr>
<tr>
<td>└─spec</td>
<td>number</td>
<td>面额</td>
<td>-</td>
</tr>
<tr>
<td>└─commodityImage</td>
<td>string</td>
<td>商品图片</td>
<td>-</td>
</tr>
<tr>
<td>└─detail</td>
<td>string</td>
<td>商品详情-富文本</td>
<td>-</td>
</tr>
<tr>
<td>└─direction</td>
<td>string</td>
<td>使用说明-富文本</td>
<td>-</td>
</tr>
<tr>
<td>└─settlementPrice</td>
<td>number</td>
<td>结算价</td>
<td>-</td>
</tr>
<tr>
<td>└─discount</td>
<td>number</td>
<td>折扣</td>
<td>-</td>
</tr>
</tbody>
</table>
<p><strong>Response-example:</strong></p>
<pre><code>{
&quot;status&quot;: 572,
&quot;message&quot;: &quot;success&quot;,
&quot;data&quot;:[
{
&quot;productName&quot;: &quot;&quot;,
&quot;productCode&quot;: &quot;&quot;,
&quot;productType&quot;: 0,
&quot;spec&quot;: 0,
&quot;commodityImage&quot;: &quot;&quot;,
&quot;detail&quot;: &quot;&quot;,
&quot;direction&quot;: &quot;&quot;,
&quot;settlementPrice&quot;: 0,
&quot;discount&quot;: 0
}
]
}</code></pre>