Skip to main content

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

FieldRequiredTypeRemarkSample
redemptionCodeYesstringCode of the redemptionxxx

Response Payload

{
"status": 1,
"errorCode": 0,
"message": "success",
"redemptionCode": "Code of the redemption",
"redemptionStatus": "Used"
}

Response Parameters

FieldRequiredTypeRemarkSample
statusYesstringstatus code of the api call
messageYesstringdetail message of the api call
errorCodeNostring
redemptionCodeNostringredemption code
redemptionStatusNostringredemptionStatus: Available、Used、Deactivated、Expired、Other

Response Headers

Error Codes

CodeDescription
1Internal Error
3Missing Parameter
4Invalid Input
10411Redemption not found