collection_discount_voucher
reward, which will
apply a fixed or percentage discount to line items that belong to the designated
collection. If the redemption is successful, the new claimed reward and a unique
voucher (coupon) code will be included in the response.
You can show the voucher code to the customer and instruct them to apply it to
their cart later.
Details of the collection to which this voucher applies can be found in
claimed_reward.redeemable.collection
, and this should be shown
to the customer.
Note that collection discount vouchers can have a minimum spend, found in
claimed_reward.redeemable.minimum_spend
. If present, this should be
communicated to the customer to avoid confusion.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 unique voucher code that will apply the discount
"LL-XYA3816"
The new claimed reward. The voucher code can be found in claimed_reward.redeemable.code
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