mutation
addItemsToCart
Add to cart request schema which has items data to be added in cart.
Arguments
id
StringThe unique identifier of the cart.
areaCode
StringCustomer servicable area_code.
includeBreakup
BooleanThis is a boolean value. Select `true` to retrieve the price breakup of cart items.
buyNow
BooleanThis is a boolen value. Select `true` to set/initialize buy now cart.
includeAllItems
BooleanThis 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
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
cart
CartGet 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 add to cart API response.
partial
BooleanWhen adding multiple items check if all added. True if only few are added.
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?