...
The Update Points Balance endpoint is used to add or remove loyalty points from a customer’s account. This endpoint can be leveraged by Gamification partners such as Brame to be able assign loyalty points to a customer that has successfully played a game. For more information on Brame, please refer to: Gamification Offer and Points Assignment via Brame /wiki/spaces/HELP/pages/4932174018.
Request format
Endpoint
POST /loyalty/user/{loyaltyUserId}/points
...
Info |
---|
All error responses use the standard https://rbictg.atlassian.net/wiki/spaces/RDP/pages/4231725617/LLoyalty+API+v1+-+Error+Responses format. |
HTTP
400 (Bad Request)
if the request body has an incorrect format. In this case, the response will include details about which specific field or fields have an incorrect format:"TransactionInsufficientPoints"
: the user want to redeem more points than the user has.
HTTP
401 (Unauthorized)
if authentication headers are missing or not valid.HTTP
404 (Not Found)
: in the following scenarios indicated in thecode
field of the error response:"UserNotFoundError"
: the Loyalty user (specifically the loyalty id) was not found.