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 serviceable area code, such as a pincode, ZIP code, or postal code. Example: '400059'.
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
buyNow
Boolean
Select true to initialize a Buy Now cart. Example: false
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'
updateCartRequestInput
UpdateCartRequestInput
Data to update cart items and the operation to perform. Example: { operation: replace, items: [{ identifiers: { identifier: 'line_abc' }, item_id: 123, item_size: 'L', quantity: 1 }] }
cartType
String
The type of cart.
orderType
String
Shipment order type (e.g., 'HomeDelivery', 'PickAtStore','Digital'). Example: 'PickAtStore'
Response
Mutation
Loading...
Try it
Input Variables
Loading...
Response
Loading...