Select an address from the saved customer addresses and validates the availability of items in the cart. Additionally, it verifies and updates the delivery promise based on the selected address.
Arguments
Select true to retrieve the price breakup of cart items. Example: true
includePriceBreakup
BooleanSelect true to retrieve the price breakup of cart items. Example: true
buyNow
BooleanWhether to get Buy Now cart. Example: false
cartId
StringThe unique identifier of the cart. Example: '5bb521cfdc83215e1889b346'
Select true to retrieve all items added in the cart. Example: true
includeAllItems
BooleanSelect true to retrieve all items added in the cart. Example: true
selectCartAddressRequestInput
SelectCartAddressRequestInputSelect address for the cart (delivery and/or billing). Example: { cart_id: '5bb521cfdc83215e1889b346', id: 'addr_001' }
Response
applied_promo_details
[AppliedPromotion]Applied promotions including id, name, offer text, buy/discount rules, type. Example: [{ promo_id: 'PROMO1', offer_text: '10% OFF' }]
breakup_values
CartBreakupPrice breakup for coupon, display, loyalty points, etc.
buy_now
BooleanBuy Now flag for fast checkout. Example: false
cart_id
IntNumeric cart identifier. Example: 123456
checkout_mode
StringCheckout mode (e.g., 'self', 'other'). Example: 'self'
comment
StringCart-level comment. Example: 'Deliver after 6 PM'
coupon
CartDetailCouponCart-level coupon data (applied flag, code, amount, title, message).
common_config
CartCommonConfigSales channel common config (e.g., delivery charge config).
coupon_text
StringDisplay text of the applied coupon. Example: 'SAVE10 applied'
currency
CartCurrencyCurrency for prices (e.g., code 'INR', symbol '₹').
delivery_charge_info
StringDelivery charge informational message. Example: 'Free delivery above ₹999'
delivery_promise
DeliveryPromiseResponseDelivery promise for the cart.
gstin
StringGSTIN associated with the cart. Example: '27AAACI1195H1ZK'
id
StringCart UID. Example: '5bb521cfdc83215e1889b346'
is_valid
BooleanWhether the cart response is valid. Example: true
items
[CartProductInfo]List of cart items including item id, size, store, pricing, etc.
last_modified
StringLast modified timestamp (ISO 8601). Example: '2025-10-07T14:20:00Z'
message
StringResponse message. Example: 'Cart fetched successfully'
notification
JSONNotification payload for the cart. Example: { type: 'warning', text: 'Few items out of stock' }
pan_config
JSONPAN configuration with thresholds for COD and online payments. Example: { enabled: true, cod_threshold_amount: 50000, online_threshold_amount: 200000 }
pan_no
StringUser PAN number. Example: 'ABCDE1234F'
payment_selection_lock
PaymentSelectionLockPayment selection lock configuration.
restrict_checkout
BooleanWhether checkout is restricted. Example: false
addresses
AddressesList of saved addresses for user cart checkout.
user_cart_items_count
IntNumber of items in cart. Example: 3
staff_user_id
StringStaff user ID if cart is created by a staff member. Example: 'usr_123'
uid
StringCart UID. Example: '5bb521cfdc83215e1889b346'
success
BooleanWhether the API call was successful. Example: true
custom_cart_meta
JSONCustom cart metadata. Example: { channel: 'web' }
alternate_pickup_person
AlternatePickupPersonAlternate pickup person details.
free_gift_selection_available
BooleanWhether promotion free gift selection is available. Example: true
customer_id
StringCustomer user ID associated with the cart. Example: 'usr_456'
Mutation
Try it
Input Variables
Response
Was this section helpful?