杭州女装网API


订单设置-有货先发

<p><strong>简要描述:</strong> </p> <ul> <li>申请有货先发 </li> <li>&lt;span style='color:red'&gt;注意:只有 付款后的订单才能设置成功&lt;/span&gt;</li> </ul> <p><strong>请求URL:</strong> </p> <ul> <li><code>http://open.hznzcn.com/order/available/send</code></li> </ul> <p><strong>请求方式:</strong></p> <ul> <li>POST </li> <li>x-www-form-urlencoded</li> </ul> <p><strong>公共请求参数:</strong></p> <table> <thead> <tr> <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;">app_key</td> <td style="text-align: left;">是</td> <td style="text-align: left;">string</td> <td>App应用标识,女装网提供</td> </tr> <tr> <td style="text-align: left;">access_token</td> <td style="text-align: left;">是</td> <td style="text-align: left;">string</td> <td>授权成功的Token,若访问的API和用户有关,该项为必填项, 具体请查看 [[1]获取授权,token 文档][token]</td> </tr> <tr> <td style="text-align: left;">stamp</td> <td style="text-align: left;">是</td> <td style="text-align: left;">string</td> <td>时间戳,有效期为 <strong>3</strong> 分钟,示例值:636806795462062641,具体参考 [[2]时间戳说明文档][时间戳说明]</td> </tr> <tr> <td style="text-align: left;">sign</td> <td style="text-align: left;">是</td> <td style="text-align: left;">string</td> <td>签名,将除了sign以为的的所有请求参数进行签名加密处理后的字符串,示例值:0895AB9BCE9AA031D4EE3CC38C3E0702,具体参考 [[3]签名生成说明文档][签名生成说明文档]</td> </tr> </tbody> </table> <p><strong>API请求参数:</strong> </p> <table> <thead> <tr> <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;">OrderId</td> <td style="text-align: left;">是</td> <td style="text-align: left;">int</td> <td>订单id</td> </tr> </tbody> </table> <p><strong>返回示例</strong></p> <ul> <li>成功</li> </ul> <pre><code>{ &amp;quot;Data&amp;quot;: true, &amp;quot;Code&amp;quot;: &amp;quot;0&amp;quot;, &amp;quot;Msg&amp;quot;: null } </code></pre> <ul> <li>失败</li> <li> <ul> <li>&lt;span style='color:red'&gt;注意:只有 付款后的订单才能设置成功&lt;/span&gt;</li> </ul> </li> </ul> <pre><code>{ &amp;quot;Data&amp;quot;: false, &amp;quot;Code&amp;quot;: &amp;quot;0&amp;quot;, &amp;quot;Msg&amp;quot;: &amp;quot;申请有货先发失败,订单状态不正确!&amp;quot; } </code></pre> <ul> <li>异常、参数不对 </li> </ul> <pre><code>{ &amp;quot;Data&amp;quot;: false, &amp;quot;Code&amp;quot;: &amp;quot;-99&amp;quot;, &amp;quot;Msg&amp;quot;: &amp;quot;OrderId不正确&amp;quot; } </code></pre> <p><strong>响应参数说明</strong> </p> <table> <thead> <tr> <th style="text-align: left;">参数</th> <th style="text-align: left;">类型</th> <th style="text-align: left;">描述</th> </tr> </thead> <tbody> <tr> <td style="text-align: left;">Data</td> <td style="text-align: left;">Boolen</td> <td style="text-align: left;">True=成功,False=失败</td> </tr> <tr> <td style="text-align: left;">Code</td> <td style="text-align: left;">string</td> <td style="text-align: left;">请求状态码 ,具体参考 [[4]ResponseCode文档][ResponseCode]</td> </tr> <tr> <td style="text-align: left;">Msg</td> <td style="text-align: left;">string</td> <td style="text-align: left;">请求相关信息</td> </tr> </tbody> </table> <p><strong>备注</strong> </p> <p>[token]: <a href="https://www.showdoc.cc/230407611622153?page_id=1313862750462126">https://www.showdoc.cc/230407611622153?page_id=1313862750462126</a> &quot;点击查看 获取授权,token 文档&quot; [时间戳说明]: <a href="https://www.showdoc.cc/230407611622153?page_id=1313894411972991">https://www.showdoc.cc/230407611622153?page_id=1313894411972991</a> &quot;点击查看时间戳的说明文档&quot; [签名生成说明文档]: <a href="https://www.showdoc.cc/230407611622153?page_id=1313915454654841">https://www.showdoc.cc/230407611622153?page_id=1313915454654841</a> &quot;点击查看签名生成说明文档&quot; [ResponseCode]: <a href="https://www.showdoc.cc/230407611622153?page_id=1314533986849160">https://www.showdoc.cc/230407611622153?page_id=1314533986849160</a> &quot;点击查看请求状态码【ResponseCode】文档&quot; [可访问获取快递列表(含资费)API]: <a href="https://www.showdoc.cc/230407611622153?page_id=1353822422985502">https://www.showdoc.cc/230407611622153?page_id=1353822422985502</a> &quot;点击访问获取快递列表(含资费)API文档&quot; [省市区列表API]: <a href="https://www.showdoc.cc/230407611622153?page_id=1354271466649618">https://www.showdoc.cc/230407611622153?page_id=1354271466649618</a> &quot;点击访问省市区列表API文档&quot; [可调用取消订单API]: <a href="https://www.showdoc.cc/230407611622153?page_id=1353698158129030">https://www.showdoc.cc/230407611622153?page_id=1353698158129030</a> &quot;点击查看 取消订单API 文档&quot; [售前退款申请]: <a href="https://www.showdoc.cc/230407611622153?page_id=1355244448234631">https://www.showdoc.cc/230407611622153?page_id=1355244448234631</a> &quot;点击查看 申请退款(<strong>售前退款,订单还未发货</strong>)API文档&quot; [可调用申请退换货API]: <a href="https://www.showdoc.cc/230407611622153?page_id=1355263754738085">https://www.showdoc.cc/230407611622153?page_id=1355263754738085</a> &quot;点击查看申请退换货API(<strong>售后退换货,订单已经发货</strong>)文档&quot; [可调用获取售前退款申请详细API]: <a href="https://www.showdoc.cc/230407611622153?page_id=1355267058847466">https://www.showdoc.cc/230407611622153?page_id=1355267058847466</a> &quot;查看获取售前退款申请详细API文档&quot; [11]: <a href="https://www.showdoc.cc/230407611622153?page_id=1833414255060876">https://www.showdoc.cc/230407611622153?page_id=1833414255060876</a> &quot;订单实体类下载&quot;</p>

页面列表

ITEM_HTML