POST Coupon/ReturnCouponOrder
退回一张微信券订单,若已经付款会自动退款,若已经领用微信券,会自动退回(仅支持商家券)
请求信息
请求URI参数
无
请求数据参数
微信券订单信息
MerchantCouponReturnOrderInfo| 名称 | 说明 | 类型 | 扩展说明 |
|---|---|---|---|
| merchant_brand |
所在连锁商户号 |
字符串 |
必填 |
| appid |
小程序/公共号ID |
字符串 |
无 |
| openid |
购买者唯一标记OpenID |
字符串 |
无 |
| order_no |
订单编号 |
字符串 |
必填 |
| return_reason |
退单原因 |
字符串 |
无 |
请求数据格式
application/json, text/json
例子:
{
"merchant_brand": "sample string 1",
"appid": "sample string 2",
"openid": "sample string 3",
"order_no": "sample string 4",
"return_reason": "sample string 5"
}
响应数据
资源说明
ResultInfoOfReturnCouponOrderResultInfo| 名称 | 说明 | 类型 | 扩展说明 |
|---|---|---|---|
| code | ResultCode |
无 |
|
| msg | 字符串 |
无 |
|
| data | ReturnCouponOrderResultInfo |
无 |
响应数据格式
application/json, text/json
例子:
{
"code": "SUCCESS",
"msg": "sample string 1",
"data": {
"merchant_brand": "sample string 1",
"order_no": "sample string 2",
"amount": 3,
"refund_amount": 4,
"status": 5,
"coupon_code_status_list": [
{
"coupon_code": "sample string 1",
"status": 2,
"error_desc": "sample string 3"
},
{
"coupon_code": "sample string 1",
"status": 2,
"error_desc": "sample string 3"
}
]
}
}