query
cart
Get details of a cart linked to a specific customer using a unique cart ID. It offers an overview of the items, quantities, prices, and other relevant information associated with the cart.
Arguments
areaCode
StringCustomer servicable area_code.
assignCardId
IntToken of user's debit or credit card.
includeBreakup
BooleanSelect `true` to retrieve the price breakup of cart items.
buyNow
BooleanSelect `true` to set/initialize buy now cart.
includeAllItems
BooleanSelect `true` to retrieve all the items added in the cart.
includeCodCharges
BooleanSelect `true` to retrieve the cod charges in breakup of cart items.
id
StringThe unique identifier of the cart.
Response
applied_promo_details
[AppliedPromotion]List of applied promotions data to cart which includes promotion id, promotion name, offer text, description, buy rules, discount rules and promotion type.
breakup_values
CartBreakupPrice breakup of cart which denotes different values like coupon, display, and loyalty points.
buy_now
BooleanBuy now flag for the cart which denotes user is doing fast checkout for the cart using buy now.
cart_id
IntUnique identifier of the user cart.
checkout_mode
StringCheckout mode of user cart.
comment
StringComment message to be added in user cart.
coupon
CartDetailCouponCoupon data of user cart which denotes if coupon is applied, coupon code, coupon amount, coupon title and coupon message.
common_config
CartCommonConfigCommon config at sales channel which includes delivery charge config.
coupon_text
StringCoupon text of coupon applied on cart.
currency
CartCurrencyCurrency of the price for the cart.
delivery_charge_info
StringDelivery charge in information message on shipment.
delivery_promise
DeliveryPromiseResponseDelivery promise of user cart.
gstin
StringGSTIN added in user cart.
id
StringUnique identifier of the user cart.
is_valid
BooleanCart validity flag determines the if the response is valid or not.
items
[CartProductInfo]Items data list in user cart that includes item id, item size, store id, available sizes and rest of the item related data.
last_modified
StringLast modified timestamp of cart.
message
StringMessage of the get cart detail API response.
notification
JSONNotification object which denotes notification data for user cart.
pan_config
JSONPan card config states at what condition user should enter the pan card.
pan_no
StringPermanent Account Number of the user.
payment_selection_lock
PaymentSelectionLockPayment selection lock config for the user cart.
restrict_checkout
BooleanRestrict checkout flag to restrict the checkout process.
addresses
AddressesList of saved addresses for user cart checkout.
user_cart_items_count
IntCount of items present in user cart.
staff_user_id
StringStaff employee user id if cart is created by staff employee for the customer.
success
BooleanSuccess flag of get cart detail API response.
uid
StringUnique identifier of the user cart.
Query
Loading...
Try it
Input Variables
Loading...
Response
Loading...
Was this section helpful?