Member Use Coupon
Function
核銷券
Endpoint
- /v1/coupon-member/use
HTTP Method
- POST
Request Body
{
"vip_accountno": "04xxxxxx",
"coupon_id": "DP003149",
"coupon_certno": "xxxx",
"type": "store_verification",
"value": "store verification code"
}
Request Parameters
| Field | Required | Type | Remark | Sample |
|---|---|---|---|---|
| vip_accountno | Yes | string | vip_accountno | 04xxxxxx |
| coupon_id | Yes | string | 券ID | DP003149 |
| coupon_certno | Yes | string | 券碼 | xxxx |
| type | Yes | string | 核銷方式: store_verification(店鋪驗證碼) | store_verification |
| value | Yes | string | 核銷值, 店鋪驗證碼(type=store_verification) | store verification code |
Response Body - Success
{
"code": 0,
"msg": "success",
"data":{
"coupon_certno": "XXX"
}
}
Response Parameters
| Field | Type | Remark | Sample |
|---|---|---|---|
| coupon_certno | string券 | 核銷成功時返回請求的券碼 | XXX |