Check Token Code API
POST /checkTokenCode
Description
This API endpoint allows users to check the details of a token code. It provides information on whether the token is active, its discount rate, and other relevant details.
Request Body
The request utilizes GraphQL to perform the checkTokenCode
mutation.
Mutation:
mutation checkTokenCode ($code: String) {
checkTokenCode (code: $code) {
id
userId
tokenCode
discountRate
isActive
usedTimestamp
createdAt
}
}