美滴滴新版后台在线接口文档

美滴滴新版后台在线接口文档


设置返券

<p><strong>简要描述:</strong> </p> <ul> <li>设置返券</li> </ul> <p><strong>请求URL:</strong> </p> <ul> <li><code>Distribution/setReturn</code></li> </ul> <p><strong>请求方式:</strong></p> <ul> <li>GET </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;">id</td> <td style="text-align: left;">是</td> <td style="text-align: left;">int</td> <td>id</td> </tr> </tbody> </table> <p><strong>返回示例</strong></p> <pre><code>{ "respData": { "coupons": { "status": 1, "coupons": [ { "c_id": "2326", "appcode": "TEST0002", "title": "测试线上-支付", "m_id": "0", "m_name": "", "send_type": "0", "type": "2", "c_type": "2", "is_sametime": "1", "money_max": "0.00", "money_reduce": "0", "money_amount": "887.99", "expiry_type": "3", "expiry": "3", "amount": "0", "fetched_amount": "0", "sort_order": "9999", "is_active": "1", "fetch_limit": "0", "directions": "1.此现金券全场通用\r\n2.不可与其他优惠活动同时使用\r\n3.活动有效期:0天后开始,3天后过期", "prompt": "测试项目,请勿下单", "addtime": "1545376528", "discount": "0", "member_type": "new", "item_type": "0", "starttime": "0", "reduce_max": "0.00", "is_service": "0", "is_beautyparlor": "0", "is_city": "0", "service_id": null, "bp_id": null, "city_id": null, "updatetime": null, "value": "887.99" } ] }, "brand": "娇莉芙测试2", "appcode": "TEST0002" }, "respCode": 1000, "respContent": "请求成功", "redirect": "", "respIdent": 1, "respUrl": "" }</code></pre> <p><strong>返回参数说明</strong> </p> <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;">brand</td> <td style="text-align: left;">string</td> <td>商户名</td> </tr> <tr> <td style="text-align: left;">appcode</td> <td style="text-align: left;">string</td> <td>商户编号</td> </tr> <tr> <td style="text-align: left;">coupons</td> <td style="text-align: left;">array</td> <td>可以选择的优惠券列表</td> </tr> <tr> <td style="text-align: left;">--c_id</td> <td style="text-align: left;">int</td> <td>优惠券id</td> </tr> <tr> <td style="text-align: left;">--c_id</td> <td style="text-align: left;">money_amount</td> <td>优惠券金额</td> </tr> <tr> <td style="text-align: left;">--title</td> <td style="text-align: left;">money_amount</td> <td>优惠券名称</td> </tr> </tbody> </table> <p><strong>备注</strong> </p> <ul> <li>更多返回错误代码请看首页的错误代码描述</li> </ul> <p>欢迎使用ShowDoc!欢迎使用ShowDoc!</p>

页面列表

ITEM_HTML