【187】取订单备注
<p>[TOC]</p>
<h5>接口状态</h5>
<ul>
<li><code>正常</code></li>
</ul>
<h5>框架版本</h5>
<ul>
<li><code>≥ 2.2.0.0</code></li>
</ul>
<h5>更新时间</h5>
<ul>
<li><code>2025/04/24</code></li>
</ul>
<h5>调用额度</h5>
<ul>
<li><code>免额度</code></li>
</ul>
<h5>简要描述</h5>
<ul>
<li>取卖家订单备注;可以获取10条备注历史。</li>
</ul>
<h5>DLL调用例子</h5>
<pre><code>Api_GetOrderSellerNotes(&quot;$userNick$&quot;,&quot;2474484927600089978&quot;)</code></pre>
<h5>易语言模块调用例子</h5>
<pre><code>SaiNiu.Api.取订单备注(&quot;$userNick$&quot;,&quot;2474484927600089978&quot;)</code></pre>
<h5>POST调用例子</h5>
<pre><code>http://127.0.0.1:3030/SaiNiuApi/Api</code></pre>
<pre><code>&amp;post=GetOrderSellerNotes&amp;data={&quot;userNick&quot;:&quot;$userNick$&quot;,&quot;orderId&quot;:&quot;2474484927600089978&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;">orderId</td>
<td style="text-align: left;">文本型</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">订单号</td>
<td>2474484927600089978</td>
</tr>
</tbody>
</table>
<h5>成功返回示例</h5>
<pre><code>{&quot;code&quot;:200,&quot;data&quot;:{&quot;editRecordList&quot;:[{&quot;flagId&quot;:&quot;1&quot;,&quot;content&quot;:&quot;这是一个靓仔顾客&quot;,&quot;editTime&quot;:&quot;2025-03-20 22:56:46&quot;,&quot;editorNick&quot;:&quot;tb9403060_2011&quot;,&quot;flagPicUrl&quot;:&quot;https:\/\/img.alicdn.com\/imgextra\/i4\/O1CN015SWzPn1ZYOkHKAWft_!!6000000003206-2-tps-120-120.png?getAvatar=avatar&quot;,&quot;flagTag&quot;:&quot; &quot;,&quot;grayContent&quot;:false}],&quot;notice&quot;:[{&quot;content&quot;:&quot;可查看最近十次的备注修改记录。&quot;,&quot;page&quot;:&quot;history&quot;}],&quot;lastOperator&quot;:&quot;tb9403060_2011&quot;,&quot;flagTagList&quot;:[{&quot;flagId&quot;:&quot;1&quot;,&quot;currentTag&quot;:&quot; &quot;,&quot;latestTag&quot;:&quot;&quot;,&quot;flagPicUrl&quot;:&quot;https:\/\/img.alicdn.com\/imgextra\/i4\/O1CN015SWzPn1ZYOkHKAWft_!!6000000003206-2-tps-120-120.png?getAvatar=avatar&quot;},{&quot;flagId&quot;:&quot;2&quot;,&quot;latestTag&quot;:&quot;&quot;,&quot;flagPicUrl&quot;:&quot;https:\/\/img.alicdn.com\/imgextra\/i1\/O1CN01Fa6Umz1Ogg8KPBs7v_!!6000000001735-2-tps-120-120.png?getAvatar=avatar&quot;},{&quot;flagId&quot;:&quot;3&quot;,&quot;latestTag&quot;:&quot;&quot;,&quot;flagPicUrl&quot;:&quot;https:\/\/img.alicdn.com\/imgextra\/i1\/O1CN01k0ngrS1V1BYrUHZdq_!!6000000002592-2-tps-120-120.png?getAvatar=avatar&quot;},{&quot;flagId&quot;:&quot;4&quot;,&quot;latestTag&quot;:&quot;&quot;,&quot;flagPicUrl&quot;:&quot;https:\/\/img.alicdn.com\/imgextra\/i1\/O1CN017XjC2z1fqcC4n8bGZ_!!6000000004058-2-tps-120-120.png?getAvatar=avatar&quot;},{&quot;flagId&quot;:&quot;5&quot;,&quot;latestTag&quot;:&quot;&quot;,&quot;flagPicUrl&quot;:&quot;https:\/\/img.alicdn.com\/imgextra\/i3\/O1CN01cXPJrS1BzNIMCmPdu_!!6000000000016-2-tps-120-120.png?getAvatar=avatar&quot;},{&quot;flagId&quot;:&quot;6&quot;,&quot;latestTag&quot;:&quot;&quot;,&quot;flagPicUrl&quot;:&quot;https:\/\/img.alicdn.com\/imgextra\/i4\/O1CN01vyXd551Cl0UACTeUU_!!6000000000120-2-tps-120-120.png?getAvatar=avatar&quot;},{&quot;flagId&quot;:&quot;7&quot;,&quot;latestTag&quot;:&quot;&quot;,&quot;flagPicUrl&quot;:&quot;https:\/\/img.alicdn.com\/imgextra\/i3\/O1CN01jD2t3W1l7cz6AuOFs_!!6000000004772-2-tps-120-120.png?getAvatar=avatar&quot;},{&quot;flagId&quot;:&quot;8&quot;,&quot;latestTag&quot;:&quot;&quot;,&quot;flagPicUrl&quot;:&quot;https:\/\/img.alicdn.com\/imgextra\/i2\/O1CN01psQtR61F19gOdPL2a_!!6000000000426-2-tps-120-120.png?getAvatar=avatar&quot;},{&quot;flagId&quot;:&quot;9&quot;,&quot;latestTag&quot;:&quot;&quot;,&quot;flagPicUrl&quot;:&quot;https:\/\/img.alicdn.com\/imgextra\/i2\/O1CN01FhK38d1THYU6uQ4ky_!!6000000002357-2-tps-120-120.png?getAvatar=avatar&quot;},{&quot;flagId&quot;:&quot;10&quot;,&quot;latestTag&quot;:&quot;&quot;,&quot;flagPicUrl&quot;:&quot;https:\/\/img.alicdn.com\/imgextra\/i4\/O1CN01egzLwc1qlzyT9AvW9_!!6000000005537-2-tps-120-120.png?getAvatar=avatar&quot;}],&quot;errCode&quot;:&quot;SUCCESS&quot;,&quot;lastOperateTime&quot;:&quot;2025-03-20 22:56:46&quot;,&quot;memoContent&quot;:&quot;这是一个靓仔顾客&quot;,&quot;updateTagPermission&quot;:true,&quot;selectedFlagId&quot;:&quot;1&quot;,&quot;updateTagPermissionCode&quot;:&quot;ordernotes&quot;,&quot;updateTagPermissionName&quot;:&quot;订单备注管理&quot;,&quot;updateTagPermissionUrl&quot;:&quot;https:\/\/zizhanghao.taobao.com\/subaccount\/myself\/official_permission_apply.htm?code=ordernotes&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>