mutation

applyCoupon

Apply a coupon code to the cart to trigger discounts on eligible items.
Arguments
applyCouponRequestInput
ApplyCouponRequestInput
Request to apply a coupon on the cart. Example: { coupon_code: 'SAVE10' }
Select true to retrieve the price breakup of cart items. Example: true
includePriceBreakup
Boolean
Select true to retrieve the price breakup of cart items. Example: true
Select true to retrieve all items added in the cart. Example: true
includeAllItems
Boolean
Select true to retrieve all items added in the cart. Example: true
The unique identifier of the cart. Example: '5bb521cfdc83215e1889b346'
Select true to include payment options in response. Example: false
buyNow
Boolean
Whether to get Buy Now cart. Example: false
cartType
String
The type of cart.
Response
Mutation
Loading...
Try it
Input Variables
Loading...
Response
Loading...