UseGiftCode
Use a gift code
Changed onRedeem a gift code and apply the credit to the user's account
post/account/v1alpha1/gift-code/use
Request
- Base URLhttps://localhost:2333
- URLhttps://localhost:2333/account/v1alpha1/gift-code/use
- Authnone declared
Request body
Example request
{
"code": "HAPPY2024",
"owner": "admin",
"token": "token",
"userID": "admin",
"userUID": "user-123"
}Response
Successfully redeemed gift code
Example response
{
"data": {
"userID": "user-123"
},
"message": "Gift code successfully redeemed"
}Changes
- info
endpoint added
- info
- breaking
api path removed without deprecation
- breaking