站点工具


order_cancel

这是本文档旧的修订版!


用户取消待付款的主订单接口

1、客户端调用接口

输入参数说明:

  • 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":"订单成功取消!"}

返回首页

order_cancel.1409029539.txt.gz · 最后更改: 2014/08/26 13:05 由 106.2.171.114