CheckCouponUsageStatus
Function
check coupon usage status
Endpoint
- /v1/member-coupon/usage-status
HTTP Method
- POST
Request Headers
- Authorization: Bearer {token}
- X-App-Key: {appKey}
Request Payload
{
"redemptionCode": "Code of the redemption",
}
Request Parameters
| Field | Required | Type | Remark | Sample |
|---|---|---|---|---|
| redemptionCode | Yes | string | Code of the redemption | xxx |
Response Payload
{
"status": 1,
"errorCode": 0,
"message": "success",
"redemptionCode": "Code of the redemption",
"redemptionStatus": "Used"
}
Response Parameters
| Field | Required | Type | Remark | Sample |
|---|---|---|---|---|
| status | Yes | string | status code of the api call | |
| message | Yes | string | detail message of the api call | |
| errorCode | No | string | ||
| redemptionCode | No | string | redemption code | |
| redemptionStatus | No | string | redemptionStatus: Available、Used、Deactivated、Expired、Other |
Response Headers
Error Codes
| Code | Description |
|---|---|
| 1 | Internal Error |
| 3 | Missing Parameter |
| 4 | Invalid Input |
| 10411 | Redemption not found |