Choosing a variant
The reward may have been configured with multiple eligible product variants. If this is the case, you’ll need to let the customer choose which variant they want to redeem, and then pass that ID asvariant_id
when performing the redemption.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
The product variant ID to redeem. If the product reward includes multiple variants, you should ask the customer which one they want to redeem
The ID of the current cart. The resulting cart redemption will be linked to this cart
1
Response
201
The new claimed reward
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