【75】取店内商品SKU
<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/11/28</code></li>
</ul>
<h5>调用额度</h5>
<ul>
<li><code>免额度</code></li>
</ul>
<h5>简要描述</h5>
<ul>
<li>取店内商品SKU列表</li>
</ul>
<h5>DLL调用例子</h5>
<pre><code>Api_GetStoreSkuList(&quot;$userNick$&quot;,&quot;670928123667&quot;)</code></pre>
<h5>易语言模块调用例子</h5>
<pre><code>SaiNiu.Api.取店内商品Sku(&quot;$userNick$&quot;,&quot;670928123667&quot;)</code></pre>
<h5>POST调用例子</h5>
<pre><code>http://127.0.0.1:3030/SaiNiuApi/Api</code></pre>
<pre><code>&amp;post=GetStoreSkuList&amp;data={&quot;userNick&quot;:&quot;$userNick$&quot;,&quot;itemId&quot;:&quot;670928123667&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>
<tr>
<td style="text-align: left;">itemId</td>
<td style="text-align: left;">文本型</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">商品id</td>
<td>670928123667</td>
</tr>
</tbody>
</table>
<h5>返回示例</h5>
<pre><code>{&quot;code&quot;:200,&quot;data&quot;:{&quot;errorCodes&quot;:[],&quot;error&quot;:false,&quot;firstResult&quot;:{&quot;lightSpreadPublishItem&quot;:false,&quot;showSmartDetail&quot;:false,&quot;approveStatus&quot;:&quot;onsale&quot;,&quot;itemImgs&quot;:[],&quot;auctionType&quot;:false,&quot;canEdit&quot;:true,&quot;fixedType&quot;:false,&quot;num&quot;:193,&quot;inActivity&quot;:false,&quot;lightPublishItem&quot;:false,&quot;numIid&quot;:670928123667,&quot;picUrl&quot;:&quot;https:\/\/img.alicdn.com\/bao\/uploaded\/i1\/796978238\/O1CN01NU1iSI2Aj3XEff96R_!!796978238.jpg&quot;,&quot;price&quot;:&quot;5.00&quot;,&quot;propertyAlias&quot;:&quot;&quot;,&quot;skus&quot;:[{&quot;created&quot;:&quot;2022-03-16 10:05:51&quot;,&quot;price&quot;:&quot;5.00&quot;,&quot;modified&quot;:&quot;2024-12-19 15:54:39&quot;,&quot;outerId&quot;:&quot;&quot;,&quot;properties&quot;:&quot;5581727:55563063;18800793:19223133099&quot;,&quot;skuId&quot;:4826036249161,&quot;propertiesName&quot;:&quot;5581727:55563063:支持用户数:1用户;18800793:19223133099:版本:权限4一年&quot;,&quot;quantity&quot;:94},{&quot;created&quot;:&quot;2022-03-16 10:05:51&quot;,&quot;price&quot;:&quot;398.00&quot;,&quot;modified&quot;:&quot;2024-12-19 15:54:39&quot;,&quot;outerId&quot;:&quot;&quot;,&quot;properties&quot;:&quot;5581727:55563063;18800793:19223133100&quot;,&quot;skuId&quot;:4826036249162,&quot;propertiesName&quot;:&quot;5581727:55563063:支持用户数:1用户;18800793:19223133100:版本:权限4三年&quot;,&quot;quantity&quot;:99}],&quot;smartPublishItem&quot;:false,&quot;title&quot;:&quot;赛牛工作台测试专用链接,勿拍不发货&quot;,&quot;userPic&quot;:true},&quot;ignore&quot;:true,&quot;model&quot;:{&quot;lightSpreadPublishItem&quot;:false,&quot;showSmartDetail&quot;:false,&quot;approveStatus&quot;:&quot;onsale&quot;,&quot;itemImgs&quot;:[],&quot;auctionType&quot;:false,&quot;canEdit&quot;:true,&quot;fixedType&quot;:false,&quot;num&quot;:193,&quot;inActivity&quot;:false,&quot;lightPublishItem&quot;:false,&quot;numIid&quot;:670928123667,&quot;picUrl&quot;:&quot;https:\/\/img.alicdn.com\/bao\/uploaded\/i1\/796978238\/O1CN01NU1iSI2Aj3XEff96R_!!796978238.jpg&quot;,&quot;price&quot;:&quot;5.00&quot;,&quot;propertyAlias&quot;:&quot;&quot;,&quot;skus&quot;:[{&quot;created&quot;:&quot;2022-03-16 10:05:51&quot;,&quot;price&quot;:&quot;5.00&quot;,&quot;modified&quot;:&quot;2024-12-19 15:54:39&quot;,&quot;outerId&quot;:&quot;&quot;,&quot;properties&quot;:&quot;5581727:55563063;18800793:19223133099&quot;,&quot;skuId&quot;:4826036249161,&quot;propertiesName&quot;:&quot;5581727:55563063:支持用户数:1用户;18800793:19223133099:版本:权限4一年&quot;,&quot;quantity&quot;:94},{&quot;created&quot;:&quot;2022-03-16 10:05:51&quot;,&quot;price&quot;:&quot;398.00&quot;,&quot;modified&quot;:&quot;2024-12-19 15:54:39&quot;,&quot;outerId&quot;:&quot;&quot;,&quot;properties&quot;:&quot;5581727:55563063;18800793:19223133100&quot;,&quot;skuId&quot;:4826036249162,&quot;propertiesName&quot;:&quot;5581727:55563063:支持用户数:1用户;18800793:19223133100:版本:权限4三年&quot;,&quot;quantity&quot;:99}],&quot;smartPublishItem&quot;:false,&quot;title&quot;:&quot;赛牛工作台测试专用链接,勿拍不发货&quot;,&quot;userPic&quot;:true},&quot;result&quot;:&quot;com.taobao.gpf.client.topapi.domain.Item@575d2a60&quot;,&quot;results&quot;:[{&quot;lightSpreadPublishItem&quot;:false,&quot;showSmartDetail&quot;:false,&quot;approveStatus&quot;:&quot;onsale&quot;,&quot;itemImgs&quot;:[],&quot;auctionType&quot;:false,&quot;canEdit&quot;:true,&quot;fixedType&quot;:false,&quot;num&quot;:193,&quot;inActivity&quot;:false,&quot;lightPublishItem&quot;:false,&quot;numIid&quot;:670928123667,&quot;picUrl&quot;:&quot;https:\/\/img.alicdn.com\/bao\/uploaded\/i1\/796978238\/O1CN01NU1iSI2Aj3XEff96R_!!796978238.jpg&quot;,&quot;price&quot;:&quot;5.00&quot;,&quot;propertyAlias&quot;:&quot;&quot;,&quot;skus&quot;:[{&quot;created&quot;:&quot;2022-03-16 10:05:51&quot;,&quot;price&quot;:&quot;5.00&quot;,&quot;modified&quot;:&quot;2024-12-19 15:54:39&quot;,&quot;outerId&quot;:&quot;&quot;,&quot;properties&quot;:&quot;5581727:55563063;18800793:19223133099&quot;,&quot;skuId&quot;:4826036249161,&quot;propertiesName&quot;:&quot;5581727:55563063:支持用户数:1用户;18800793:19223133099:版本:权限4一年&quot;,&quot;quantity&quot;:94},{&quot;created&quot;:&quot;2022-03-16 10:05:51&quot;,&quot;price&quot;:&quot;398.00&quot;,&quot;modified&quot;:&quot;2024-12-19 15:54:39&quot;,&quot;outerId&quot;:&quot;&quot;,&quot;properties&quot;:&quot;5581727:55563063;18800793:19223133100&quot;,&quot;skuId&quot;:4826036249162,&quot;propertiesName&quot;:&quot;5581727:55563063:支持用户数:1用户;18800793:19223133100:版本:权限4三年&quot;,&quot;quantity&quot;:99}],&quot;smartPublishItem&quot;:false,&quot;title&quot;:&quot;赛牛工作台测试专用链接,勿拍不发货&quot;,&quot;userPic&quot;:true}]},&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>