【83】取店铺经营汇总
<p>[TOC]</p>
<h5>接口状态</h5>
<ul>
<li><code>正常</code></li>
</ul>
<h5>框架版本</h5>
<ul>
<li><code>≥ 2.0.5.0</code></li>
</ul>
<h5>更新时间</h5>
<ul>
<li><code>2024/12/02</code></li>
</ul>
<h5>调用额度</h5>
<ul>
<li><code>免额度</code></li>
</ul>
<h5>简要描述</h5>
<ul>
<li>取店铺经营汇总(待发货、待评价、待付款、待售后、待处理投诉)</li>
</ul>
<h5>DLL调用例子</h5>
<pre><code>Api_GetBusinessSummary(&quot;$userNick$&quot;)</code></pre>
<h5>易语言模块调用例子</h5>
<pre><code>SaiNiu.Api.取店铺经营汇总(&quot;$userNick$&quot;)</code></pre>
<h5>POST调用例子</h5>
<pre><code>http://127.0.0.1:3030/SaiNiuApi/Api</code></pre>
<pre><code>&amp;post=GetBusinessSummary&amp;data={&quot;userNick&quot;:&quot;$userNick$&quot;}</code></pre>
<h5>参数</h5>
<table>
<thead>
<tr>
<th style="text-align: left;">参数名</th>
<th style="text-align: left;">类型</th>
<th style="text-align: left;">是否必填</th>
<th style="text-align: left;">说明</th>
<th>示例</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">userNick</td>
<td style="text-align: left;">文本型</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">千牛账号,为方便测试$userNick$表示取随机队列账号</td>
<td>tb123456</td>
</tr>
</tbody>
</table>
<h5>返回示例</h5>
<pre><code>{&quot;code&quot;:200,&quot;data&quot;:{&quot;result&quot;:{&quot;punishmentAlert&quot;:&quot;-&quot;,&quot;pcProtocolAction&quot;:{&quot;refundNum&quot;:&quot;{ \&quot;eventName\&quot;: \&quot;tradeList\&quot;, \&quot;from\&quot;: \&quot;number.65.0.0\&quot;, \&quot;parameters\&quot;: { \&quot;tradeStatus\&quot;: \&quot;TRADE_REFUND\&quot; } }&quot;,&quot;waitForBuyerPay&quot;:&quot;{ \&quot;eventName\&quot;: \&quot;tradeList\&quot;, \&quot;from\&quot;: \&quot;number.19.0.0\&quot;, \&quot;parameters\&quot;: { \&quot;tradeStatus\&quot;: \&quot;WAIT_BUYER_PAY\&quot; } }&quot;,&quot;waitForRated&quot;:&quot;{ \&quot;eventName\&quot;: \&quot;tradeList\&quot;, \&quot;from\&quot;: \&quot;number.21.0.0\&quot;, \&quot;parameters\&quot;: { \&quot;tradeStatus\&quot;: \&quot;WAIT_BUYER_APPRAISE\&quot; } }&quot;,&quot;waitForSellerSendGoods&quot;:&quot;{ \&quot;eventName\&quot;: \&quot;tradeList\&quot;, \&quot;from\&quot;: \&quot;number.20.0.0\&quot;, \&quot;parameters\&quot;: { \&quot;tradeStatus\&quot;: \&quot;WAIT_SELLER_SEND_GOODS\&quot; } }&quot;},&quot;complainedCount&quot;:&quot;0&quot;,&quot;vipSellerUseDays&quot;:&quot;-&quot;,&quot;complainedCountText&quot;:&quot;待处理投诉&quot;,&quot;isDone&quot;:true,&quot;intervalTime&quot;:900,&quot;yestodayContentPublished&quot;:&quot;0&quot;,&quot;onSaleItemNum&quot;:&quot;0&quot;,&quot;rapidRepaymentAmount&quot;:&quot;-&quot;,&quot;pcProtocolActionApi&quot;:{&quot;complainedCount&quot;:{&quot;action&quot;:&quot;openWebsite&quot;,&quot;actionParam&quot;:&quot;{\&quot;url\&quot;:\&quot;https:\/\/qn.taobao.com\/home.htm\/complaint-management\/\&quot;}&quot;},&quot;refundNum&quot;:{&quot;action&quot;:&quot;openPlugin&quot;,&quot;actionParam&quot;:&quot;{ \&quot;appkey\&quot;: \&quot;\&quot;, \&quot;category\&quot;: \&quot;jiaoyiguanli\&quot;,\&quot;event\&quot;: \&quot;tradeList\&quot;, \&quot;param\&quot;: \&quot;{ \\\&quot;tradeStatus\\\&quot;: \\\&quot;TRADE_REFUND\\\&quot; } \&quot;}&quot;},&quot;waitForBuyerPay&quot;:{&quot;action&quot;:&quot;openPlugin&quot;,&quot;actionParam&quot;:&quot;{ \&quot;appkey\&quot;: \&quot;\&quot;, \&quot;category\&quot;: \&quot;jiaoyiguanli\&quot;,\&quot;event\&quot;: \&quot;tradeList\&quot;, \&quot;param\&quot;:\&quot; { \\\&quot;tradeStatus\\\&quot;:\\\&quot;WAIT_BUYER_PAY\\\&quot; } \&quot;}&quot;},&quot;waitForRated&quot;:{&quot;action&quot;:&quot;openPlugin&quot;,&quot;actionParam&quot;:&quot;{ \&quot;appkey\&quot;: \&quot;\&quot;, \&quot;category\&quot;: \&quot;jiaoyiguanli\&quot;,\&quot;event\&quot;: \&quot;tradeList\&quot;, \&quot;param\&quot;: \&quot;{ \\\&quot;tradeStatus\\\&quot;:\\\&quot; WAIT_BUYER_APPRAISE\\\&quot; } }&quot;},&quot;waitForSellerSendGoods&quot;:{&quot;action&quot;:&quot;openPlugin&quot;,&quot;actionParam&quot;:&quot;{ \&quot;appkey\&quot;: \&quot;\&quot;, \&quot;category\&quot;: \&quot;jiaoyiguanli\&quot;,\&quot;event\&quot;: \&quot;tradeList\&quot;, \&quot;param\&quot;: \&quot;{\\\&quot;tradeStatus\\\&quot;:\\\&quot;WAIT_SELLER_SEND_GOODS\\\&quot;}\&quot; }&quot;}},&quot;refundNum&quot;:&quot;0&quot;,&quot;yestodayContentViewed&quot;:&quot;0&quot;,&quot;refundNumText&quot;:&quot;待售后&quot;,&quot;repaymentLeadDays&quot;:&quot;-&quot;,&quot;updateTime&quot;:1733113848454,&quot;usedRecommendedNum&quot;:&quot;0&quot;,&quot;waitForBuyerPay&quot;:&quot;0&quot;,&quot;waitForBuyerPayText&quot;:&quot;待付款&quot;,&quot;waitForRated&quot;:&quot;1&quot;,&quot;waitForRatedText&quot;:&quot;待评价&quot;,&quot;waitForSellerSendGoods&quot;:&quot;0&quot;,&quot;waitForSellerSendGoodsText&quot;:&quot;待发货&quot;,&quot;webAction&quot;:{&quot;complainedCount&quot;:&quot;https:\/\/qn.taobao.com\/home.htm\/shenshu&quot;,&quot;refundNum&quot;:&quot;https:\/\/qn.taobao.com\/home.htm\/trade-platform\/refund-list&quot;,&quot;waitForBuyerPay&quot;:&quot;https:\/\/qn.taobao.com\/home.htm\/trade-platform\/tp\/sold?tradeStatus=WAIT_BUYER_PAY&quot;,&quot;waitForRated&quot;:&quot;https:\/\/qn.taobao.com\/home.htm\/comment-manage\/list\/sellerWait4PC&quot;,&quot;waitForSellerSendGoods&quot;:&quot;https:\/\/qn.taobao.com\/home.htm\/trade-platform\/tp\/sold?tradeStatus=WAIT_SELLER_SEND_GOODS&quot;}}},&quot;ret&quot;:[&quot;SUCCESS::调用成功&quot;]}</code></pre>
<h5>返回参数说明</h5>
<table>
<thead>
<tr>
<th style="text-align: left;">参数名</th>
<th style="text-align: left;">类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">code</td>
<td style="text-align: left;">整数型</td>
<td>返回结果,成功=200,失败≠200</td>
</tr>
<tr>
<td style="text-align: left;">data</td>
<td style="text-align: left;">文本型</td>
<td>调用结果</td>
</tr>
<tr>
<td style="text-align: left;">reg</td>
<td style="text-align: left;">文本型</td>
<td>结果说明,调用成功或失败原因</td>
</tr>
</tbody>
</table>
<h5>备注</h5>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>