新权益开放API文档--1.0(废弃)

烈熊新权益系统


5.1查询权益卡订单明细

<p>路径:/api/order/getOrderDetailInfo</p> <p>方法: POST</p> <p>header:</p> <table> <thead> <tr> <th>参数名称</th> <th>类型</th> <th>长度限制</th> <th>是否必填</th> <th>介绍</th> </tr> </thead> <tbody> <tr> <td>Authorization</td> <td>String</td> <td></td> <td>是</td> <td>Bearer 客户认证令牌/会员认证令牌</td> </tr> </tbody> </table> <p>请求:</p> <table> <thead> <tr> <th>字段名称</th> <th>类型</th> <th>长度限制</th> <th>是否必填</th> <th>介绍</th> </tr> </thead> <tbody> <tr> <td>orderNo</td> <td>String</td> <td></td> <td>是</td> <td>烈熊订单号,二者取其一</td> </tr> <tr> <td>thirdOrderNo</td> <td>String</td> <td></td> <td>是</td> <td>三方订单号,二者取其一</td> </tr> </tbody> </table> <pre><code class="language-json">{ "orderNo": "202107091111110000000547" }</code></pre> <p>返回:</p> <table> <thead> <tr> <th>字段名称</th> <th>类型</th> <th>长度限制</th> <th>介绍</th> </tr> </thead> <tbody> <tr> <td>orderNo</td> <td>String</td> <td></td> <td>烈熊订单号</td> </tr> <tr> <td>thirdOrderNo</td> <td>String</td> <td></td> <td>三方订单号,烈熊购卡页下单无该字段</td> </tr> <tr> <td>createTime</td> <td>String</td> <td></td> <td>创建时间,格式:yyyy-MM-dd HH:mm:ss</td> </tr> <tr> <td>orderState</td> <td>String</td> <td></td> <td>TO_PAY 待付款,TO_DELIVERY 待发货,TO_RECEIVE 待收货,COMPLETE 完成,AFTER_SALES 售后,CANCEL 取消,CLOSE 关闭</td> </tr> <tr> <td>discountAmount</td> <td>String</td> <td></td> <td>优惠总金额,单位:分</td> </tr> <tr> <td>totalAmount</td> <td>String</td> <td></td> <td>订单总金额,单位:分</td> </tr> <tr> <td>goodsAmount</td> <td>String</td> <td></td> <td>商品金额,单位:分</td> </tr> <tr> <td>goodsItem</td> <td>Array</td> <td></td> <td>订单商品集合</td> </tr> <tr> <td>goodsItem.orderNo</td> <td>String</td> <td></td> <td>烈熊订单号</td> </tr> <tr> <td>goodsItem.salesDetailId</td> <td>String</td> <td></td> <td>商品编号</td> </tr> <tr> <td>goodsItem.goodsName</td> <td>String</td> <td></td> <td>商品名称</td> </tr> <tr> <td>goodsItem.buyNum</td> <td>String</td> <td></td> <td>购买数量</td> </tr> <tr> <td>goodsItem.discountAmount</td> <td>String</td> <td></td> <td>优惠金额,单位:分</td> </tr> <tr> <td>goodsItem.buyPrice</td> <td>String</td> <td></td> <td>订单金额,单位:分</td> </tr> <tr> <td>goodsItem.startTime</td> <td>String</td> <td></td> <td>生效时间,单位:分</td> </tr> <tr> <td>goodsItem.endTime</td> <td>String</td> <td></td> <td>失效时间,单位:分</td> </tr> </tbody> </table> <pre><code class="language-json">{ "code": "0", "data": { "createTime": "2021-07-06 13:49:38", "discountAmount": "", "goodsAmount": "100", "itemRefundList": [ { "createTime": "2022-03-10 17:02:18", "salesDetailId": "111111", "goodsName": "", "payPrice": 1995626, "refundNo": "3", "refundNum": 1, "refundPrice": 1995626, "refundStatus": "PROCESSING" } ], "goodsItem": [ { "discountAmount": "", "startTime": "", "endTime": "", "salesDetailId": "1412231840491728897", "goodsName": "PLUS月卡", "orderNo": "202107091111110000000547", "buyNum": "1", "buyPrice": "110" } ], "orderNo": "202107091111110000000547", "orderState": "COMPLETE", "thirdOrderNo": "", "totalAmount": "100" }, "message": "请求成功", "service": "", "success": true }</code></pre> <p>错误:</p> <table> <thead> <tr> <th style="text-align: left;">codes</th> <th style="text-align: left;">问题描述</th> <th style="text-align: left;">解决</th> </tr> </thead> <tbody> <tr> <td style="text-align: left;">401</td> <td style="text-align: left;">Bearer令牌不允许为空/token无效</td> <td style="text-align: left;">请检查Authorization参数</td> </tr> <tr> <td style="text-align: left;">10003</td> <td style="text-align: left;">关联的客户 (供应商)被移除或已禁用</td> <td style="text-align: left;">请联系烈熊方产品核对</td> </tr> <tr> <td style="text-align: left;">10004</td> <td style="text-align: left;">缺少参数</td> <td style="text-align: left;">具体内容查阅返回的message字段</td> </tr> </tbody> </table>

页面列表

ITEM_HTML