gift_card reward. If the redemption is
successful, the new claimed reward and a unique gift card code will be included
in the response.
The new gift card code can be seen once only in the in the gift_card_code
response field. It’s important that you instruct the customer to copy and save
the code.Authorizations
An API key linked to a Program in LoyaltyLion, with a set of permissions (scopes). API keys can be created manually, or acquired through an OAuth2 flow. The API key should be provided as a Bearer token in the Authorization header
Path Parameters
Your LoyaltyLion Site ID
Query Parameters
The sales channel from which this request is made. Must be provided as this query parameter, or the X-LoyaltyLion-Channel header
web, pos, mobile Body
Body
The LoyaltyLion ID of the reward to redeem
Response
201
The full gift card code. This is the only time the full code can be seen through the API
"8c88rfd8t8d6yxp9"
The new claimed reward. The last few characters of the gift card code can be found in claimed_reward.redeemable.code_last_characters
The customer object, updated as of the reward redemption, i.e. their claimed_rewards will include the new redemption. This customer will always have state set to enrolled, as only enrolled customers can redeem rewards