Redeem a reward
POST/reward/:rewardId/redeem
Redeem a reward
Request
Path Parameters
rewardId stringrequired
ID of the reward to redeem
- application/json
Body
property name* any
Responses
- 201
- 400
- 404
- 500
Reward redeemed successfully
- application/json
- Schema
- Example (from schema)
Schema
message string
{
"message": "string"
}
Bad Request
- application/json
- Schema
- Example (from schema)
- Example
Schema
error string
{
"error": "string"
}
{
"error": "Bad Request"
}
NotFound
- application/json
- Schema
- Example (from schema)
- Example
Schema
error string
{
"error": "string"
}
{
"error": "A mandatory item was not found"
}
Internal Server Error
- application/json
- Schema
- Example (from schema)
- Example
Schema
error string
{
"error": "string"
}
{
"error": "Internal Server Error"
}
Loading...