...
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:"TransactionNotClaimable"
: the transaction status is notPending
orClaimed
, or the transaction status in the endpoint call payload is notPending
orClaimed
."TransactionInsufficientPoints"
: the user want to redeem more points than the user has."RedeemRewardError"
: 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.