V2 0/order/cancel reasons

来自技术开发小组内部wiki
跳转至: 导航搜索

功能说明

获取服务器端设置的退款原因


URL

正式环境
http://api.fumubang.com/v2_0/order/cancel_reasons
测试环境
http://api.fumubang.net/v2_0/order/cancel_reasons

格式

json

HTTP请求方式

POST

输入参数说明

返回方式说明

xml或json

正确返回说明

{
    "status": "success",//响应状态
    "cancel_reasons": [//取消原因
        {
            "id": 3,//原因id:取消订单时,需要回传id
            "name": "我不想买了"//原因名称
        },
        {
            "id": 4,
            "name": "重复下单"
        },
        {
            "id": 5,
            "name": "信息有误新下单"
        },
        {
            "id": 6,
            "name": "无法满足特别需求"
        },
        {
            "id": 7,
            "name": "预订流程不方便"
        },
        {
            "id": 8,
            "name": "支付流程不方便"
        },
        {
            "id": 9,
            "name": "价格原因"
        },
        {
            "id": 10,
            "name": "选择其他途径购买"
        },
        {
            "id": 11,
            "name": "其他"
        }
    ]
}