【顺丰快递管家】通用接口文档


32.订单核重核价查询接口

<h3>功能描述</h3> <ul> <li>该接口用于在“订单核重核价推送接口”推送给客户以后,客户主动查询使用;</li> <li>客户按照标准流程调用该接口查询即可;</li> </ul> <h3>接口定义</h3> <table> <thead> <tr> <th style="text-align: center;">服务名称</th> <th style="text-align: center;">批量交易</th> <th style="text-align: center;">接口类型</th> <th style="text-align: center;">接口uri</th> </tr> </thead> <tbody> <tr> <td style="text-align: center;">订单核重核价查询接口</td> <td style="text-align: center;">不支持</td> <td style="text-align: center;">接入/POST</td> <td style="text-align: center;">/public/order/v2/getCheckWeightPrice</td> </tr> </tbody> </table> <h3>元素&lt;请求&gt;</h3> <ul> <li><strong>主体</strong></li> </ul> <table> <thead> <tr> <th style="text-align: center;">序号</th> <th style="text-align: center;">字段名</th> <th style="text-align: center;">类型(约束)</th> <th style="text-align: center;">必填</th> <th style="text-align: left;">描述</th> </tr> </thead> <tbody> <tr> <td style="text-align: center;">1</td> <td style="text-align: center;">orderNo</td> <td style="text-align: center;">String(64)</td> <td style="text-align: center;">条件</td> <td style="text-align: left;">客户订单号</td> </tr> <tr> <td style="text-align: center;">2</td> <td style="text-align: center;">waybillNo</td> <td style="text-align: center;">String(64)</td> <td style="text-align: center;">条件</td> <td style="text-align: left;">顺丰运单号</td> </tr> </tbody> </table> <h3>元素&lt;响应&gt;</h3> <ul> <li><strong>主体</strong></li> </ul> <table> <thead> <tr> <th style="text-align: center;">序号</th> <th style="text-align: center;">字段名</th> <th style="text-align: center;">类型(约束)</th> <th style="text-align: center;">必填</th> <th style="text-align: center;">描述</th> </tr> </thead> <tbody> <tr> <td style="text-align: center;">1</td> <td style="text-align: center;">orderNo</td> <td style="text-align: center;">String(64)</td> <td style="text-align: center;">是</td> <td style="text-align: center;">客户订单号</td> </tr> <tr> <td style="text-align: center;">2</td> <td style="text-align: center;">waybillNo</td> <td style="text-align: center;">String(64)</td> <td style="text-align: center;">是</td> <td style="text-align: center;">顺丰运单号</td> </tr> <tr> <td style="text-align: center;">3</td> <td style="text-align: center;">executeTime</td> <td style="text-align: center;">String(32)</td> <td style="text-align: center;">是</td> <td style="text-align: center;">操作时间(如:2023-11-09 13:50:12)</td> </tr> <tr> <td style="text-align: center;">4</td> <td style="text-align: center;">checkWeight</td> <td style="text-align: center;">Double</td> <td style="text-align: center;">是</td> <td style="text-align: center;">核重重量,单位千克</td> </tr> <tr> <td style="text-align: center;">5</td> <td style="text-align: center;">realWeight</td> <td style="text-align: center;">Double</td> <td style="text-align: center;">否</td> <td style="text-align: center;">实际重量,单位千克</td> </tr> <tr> <td style="text-align: center;">6</td> <td style="text-align: center;">meterageType</td> <td style="text-align: center;">String</td> <td style="text-align: center;">否</td> <td style="text-align: center;">计费类型 0: 重量计费 1: 体积计费 2: 其他</td> </tr> <tr> <td style="text-align: center;">7</td> <td style="text-align: center;">checkPrice</td> <td style="text-align: center;">Double</td> <td style="text-align: center;">是</td> <td style="text-align: center;">核重价格,单位元</td> </tr> <tr> <td style="text-align: center;">8</td> <td style="text-align: center;">attributes</td> <td style="text-align: center;">String(6094)</td> <td style="text-align: center;">否</td> <td style="text-align: center;">扩展字段</td> </tr> <tr> <td style="text-align: center;">9</td> <td style="text-align: center;">feeList</td> <td style="text-align: center;">List&lt;FeeList&gt;</td> <td style="text-align: center;">否</td> <td style="text-align: center;">费用:List形式 费用列表 1:主费用 3:保价 67:包装</td> </tr> <tr> <td style="text-align: center;">10</td> <td style="text-align: center;">discountScale</td> <td style="text-align: center;">String(32)</td> <td style="text-align: center;">否</td> <td style="text-align: center;">主运费折扣系数</td> </tr> </tbody> </table> <ul> <li><strong>FeeList 字段说明</strong></li> </ul> <table> <thead> <tr> <th style="text-align: center;">序号</th> <th style="text-align: center;">字段名</th> <th style="text-align: center;">类型(约束)</th> <th style="text-align: center;">必填</th> <th style="text-align: left;">描述</th> </tr> </thead> <tbody> <tr> <td style="text-align: center;">1</td> <td style="text-align: center;">type</td> <td style="text-align: center;">String(100)</td> <td style="text-align: center;">是</td> <td style="text-align: left;">类型</td> </tr> <tr> <td style="text-align: center;">2</td> <td style="text-align: center;">value</td> <td style="text-align: center;">String(100)</td> <td style="text-align: center;">是</td> <td style="text-align: left;">值</td> </tr> </tbody> </table> <h3>报文范例</h3> <ul> <li> <p><strong>请求报文</strong> 示例1</p> <pre><code>{ &amp;quot;orderNo&amp;quot;: &amp;quot;f2b2d4b9b7b043d1b25aaf6babda2a9b&amp;quot;, &amp;quot;waybillNo&amp;quot;: &amp;quot;SF1334478961309&amp;quot; }</code></pre> <p>示例2</p> <pre><code>{ &amp;quot;orderNo&amp;quot;: &amp;quot;f2b2d4b9b7b043d1b25aaf6babda2a9b&amp;quot; }</code></pre> <p>示例3</p> <pre><code>{ &amp;quot;waybillNo&amp;quot;: &amp;quot;SF1334478961309&amp;quot; }</code></pre> </li> <li> <p><strong>响应报文</strong></p> <ol> <li> <p>成功报文</p> <pre><code>{ &amp;quot;result&amp;quot;: { &amp;quot;companyId&amp;quot;: 817962764149440512, &amp;quot;orderNo&amp;quot;: &amp;quot;f2b2d4b9b7b043d1b25aaf6babda2a9b&amp;quot;, &amp;quot;checkPrice&amp;quot;: 22, &amp;quot;attributes&amp;quot;: &amp;quot;{\&amp;quot;length\&amp;quot;:2,\&amp;quot;width\&amp;quot;:2,\&amp;quot;height\&amp;quot;:2}&amp;quot;, &amp;quot;discountScale&amp;quot;: &amp;quot;0.5&amp;quot;, &amp;quot;feeList&amp;quot;: [ { &amp;quot;type&amp;quot;: &amp;quot;2&amp;quot;, &amp;quot;value&amp;quot;: &amp;quot;22&amp;quot; }, { &amp;quot;type&amp;quot;: &amp;quot;67&amp;quot;, &amp;quot;value&amp;quot;: &amp;quot;2&amp;quot; } ], &amp;quot;checkWeight&amp;quot;: 2, &amp;quot;waybillNo&amp;quot;: &amp;quot;SF1334478961309&amp;quot;, &amp;quot;executeTime&amp;quot;: &amp;quot;2021-01-22 19:00:00&amp;quot; }, &amp;quot;succ&amp;quot;: &amp;quot;ok&amp;quot;, &amp;quot;msg&amp;quot;: null, &amp;quot;extendResult&amp;quot;: null }</code></pre> <pre><code>{ &amp;quot;result&amp;quot;: null, &amp;quot;succ&amp;quot;: &amp;quot;ok&amp;quot;, &amp;quot;msg&amp;quot;: null, &amp;quot;extendResult&amp;quot;: null }</code></pre> </li> <li>失败报文 <pre><code>{ &amp;quot;result&amp;quot;: null, &amp;quot;succ&amp;quot;: &amp;quot;fail&amp;quot;, &amp;quot;msg&amp;quot;: &amp;quot;请传入查询参数 orderNo 或 waybillNo&amp;quot;, &amp;quot;extendResult&amp;quot;: null }</code></pre></li> </ol> </li> </ul>

页面列表

ITEM_HTML