Apply loyalty points to the cart. Users can redeem their accumulated loyalty points and apply them to the items in their cart, thereby availing discounts on their current purchases.
Arguments
cartId
StringThe unique identifier of the cart. Example: '5bb521cfdc83215e1889b346'
includeItems
BooleanSet true to retrieve all items added in the cart. Example: true
includeBreakup
BooleanSet true to retrieve the price breakup of cart items. Example: true
buyNow
BooleanSet true if checkout type is Buy Now. Example: false
redeemPoints
RedeemLoyaltyPoints!Required
Details required to apply loyalty points to a cart. Example: { redeem_points: true }
Response
Mutation
Try it
Input Variables
Response
Was this section helpful?