...
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:"TransactionNotClaimableTRANSACTION_NOT_CLAIMABLE"
: the transaction status is notPending
orClaimed
, or the transaction status in the endpoint call payload is notPending
orClaimed
."TransactionInsufficientPointsTRANSACTION_INSUFFICIENT_POINTS"
: the user want to redeem more points than the user has."RedeemRewardErrorREDEEM_REWARD_ERROR"
: when the Reward is redeemed in a store with loyalty disabled.
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:"TransactionNotFoundError"
: the transaction (specifically the transaction id) was not found."StoreNotFound"
: if the specifiedstoreId
was not found.