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.
includeItems
BooleanSet to `true` to retrieve all the items added in the cart.
includeBreakup
BooleanSet to `true` to retrieve the price breakup of cart items.
buyNow
BooleanSet to `true` if type of checkout is buy_now. User has directly clicked on buy_now
redeemPoints
RedeemLoyaltyPoints!Required
Details required to apply loyalty points to a cart.
Response
Mutation
Try it
Input Variables
Response
Was this section helpful?