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
StringCustomer servicable area_code.
Select `true` to retrieve the price breakup of cart items.
buyNow
BooleanSelect `true` to set/initialize buy now cart.
Select `true` to retrieve all the items added in the cart.
id
StringThe unique identifier of the cart.
updateCartRequestInput
UpdateCartRequestInputUpdate cart request data that involves items in cart and operation to be performed for items specified.
cartType
StringThe type of cart.
orderType
StringThe 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
StringMessage of update cart API response.
success
BooleanTrue if all items are added successfully. False if partially added or not added.
Mutation
Loading...
Try it
Input Variables
Loading...
Response
Loading...
Was this section helpful?