这里会显示出您选择的修订版和当前版本之间的差别。
Both sides previous revision 前一修订版 后一修订版 | 前一修订版 | ||
order_receipt [2014/08/27 16:59] 106.2.171.114 |
order_receipt [2022/04/19 12:07] (当前版本) 5.188.211.13 http://imrdsoacha.gov.co/silvitra-120mg-qrms |
||
---|---|---|---|
行 1: | 行 1: | ||
- | + | http://imrdsoacha.gov.co/silvitra-120mg-qrms | |
- | ===== 用户取消待付款的主订单接口 ===== | + | |
- | + | ||
- | ==== 1、客户端调用接口 ==== | + | |
- | + | ||
- | ''https://m.repai.com/order/order_receipt_api/access_token/rpat_47be0653fe75e8ae3f3d4fa5de931c24/orderid/140893822555571'' | + | |
- | + | ||
- | === 输入参数说明: === | + | |
- | + | ||
- | * access_token 【调用[[reg_login_api|一键注册登陆接口]]获取到的access_token】 | + | |
- | + | ||
- | * orderid 【主订单号】 | + | |
- | + | ||
- | ---- | + | |
- | + | ||
- | === 输出参数说明: === | + | |
- | + | ||
- | * JSON格式输出,错误时,status值为false,示例如下: | + | |
- | + | ||
- | {"status":false,"reason":"登陆失败!"} | + | |
- | + | ||
- | {"status":false,"reason":"此订单已经确认收货,请勿重复提交!"} | + | |
- | + | ||
- | {"status":false,"reason":"此订单未付款,不能确认收货!"} | + | |
- | + | ||
- | {"status":false,"reason":"没有此订单!"} | + | |
- | + | ||
- | 返回false的原因为 access_token 错误或过期(有效期30天,如果30天内用 access_token 访问过此接口,有效期自动延长)或上述原因。 | + | |
- | + | ||
- | * JSON格式输出,正确时,status值为true,表示已取消订单,示例如下: | + | |
- | + | ||
- | {"status":true,"reason":"订单确认收货!"} | + | |
- | + | ||
- | + | ||
- | [[start|返回首页]] | + |