mutation

applyLoyaltyPoints

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
String
The unique identifier of the cart. Example: '5bb521cfdc83215e1889b346'
includeItems
Boolean
Set true to retrieve all items added in the cart. Example: true
includeBreakup
Boolean
Set true to retrieve the price breakup of cart items. Example: true
buyNow
Boolean
Set true if checkout type is Buy Now. Example: false
Required
Details required to apply loyalty points to a cart. Example: { redeem_points: true }
Response
Mutation
Loading...
Try it
Input Variables
Loading...
Response
Loading...