Query Member Coupon Status
Function
用戶已領取的券狀態查詢
Endpoint
- /v1/coupon-member/query
HTTP Method
- POST
Request Body
{
"vip_accountno": "04xxxxxx",
"coupon_certno": "xxxx"
}
Request Parameters
| Field | Required | Type | Remark | Sample |
|---|---|---|---|---|
| vip_accountno | Yes | string | vip_accountno | 04xxxxxx |
| coupon_certno | Yes | string | 券碼 | xxxx |
Response Body - Success
{
"code": 0,
"msg": "success",
"data": {
"verify_state": "NOT_VERIFIED"
}
}
Response Parameters
| Field | Type | Remark | Sample |
|---|---|---|---|
| verify_state | string | 核銷狀態: NOT_VERIFIED(未核销)、 VERIFIED(已核銷)、DISABLED(已失效)、EXPIRED(已过期)、 OTHER(其它) |
Diff FZ API
FZ API: GetGiftStatus
| FZ | New | Remark |
|---|---|---|
| Status | verify_state | FZ Status: 10等待使用(=NOT_VERIFIED) , 20已成功使用(=VERIFIED) |