mutation

updateCart

Update cart. Customers can modify added product attributes such as quantity and size, as well as remove items from the cart.
Arguments
areaCode
String
Customer servicable area_code.
Select `true` to retrieve the price breakup of cart items.
buyNow
Boolean
Select `true` to set/initialize buy now cart.
Select `true` to retrieve all the items added in the cart.
The unique identifier of the cart.
updateCartRequestInput
UpdateCartRequestInput
Update cart request data that involves items in cart and operation to be performed for items specified.
cartType
String
The type of cart.
orderType
String
The order type of shipment HomeDelivery - If the customer wants the order home-delivered PickAtStore - If the customer wants the handover of an order at the store itself.
Response
Get cart detail API response schema which includes applied promo details, breakup values, buy_now, cart id, checkout mode, comment common config, coupon, coupon text, gstin etc.
message
String
Message of update cart API response.
success
Boolean
True if all items are added successfully. False if partially added or not added.
Mutation
Loading...
Try it
Input Variables
Loading...
Response
Loading...