mutation

addItemsToCart

Add to cart request schema which has items data to be added in cart.
Arguments
The unique identifier of the cart.
areaCode
String
Customer servicable area_code.
includeBreakup
Boolean
This is a boolean value. Select `true` to retrieve the price breakup of cart items.
buyNow
Boolean
This is a boolen value. Select `true` to set/initialize buy now cart.
includeAllItems
Boolean
This is a boolean value. Select `true` to retrieve all the items added to the cart.
addCartRequestInput
AddCartRequestInput
Specify the item details as shown below. Refer `AddCartRequest` for more details.
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
cart
Cart
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 add to cart API response.
partial
Boolean
When adding multiple items check if all added. True if only few are added.
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...