object

SharedCart

Share cart detail includes checkout mode, cart id, payment selection lock config, delivery promise, comment message, items, breakup values and other cart data of shared cart.
Fields
breakup_values
CartBreakup
Price breakup of cart (coupon, display, loyalty points, etc.).
buy_now
Boolean
Buy now flag of user cart. Example: false
cart_id
Int
Cart id of user cart for generating cart sharing token. Example: 123456
checkout_mode
String
Checkout mode for the cart (e.g., 'self', 'other'). Example: 'self'
comment
String
Comment message added in user cart. Example: 'Deliver after 6 PM'
coupon_text
String
Coupon text of the applied coupon on user cart. Example: 'SAVE10 applied'
currency
CartCurrency
Currency data of the cart for prices. Example: { code: 'INR', symbol: '₹' }
delivery_charge_info
String
Delivery charge info message of the user cart. Example: 'Free delivery over ₹999'
delivery_promise
DeliveryPromiseResponse
Shipment level promise (formatted time, timestamp, ISO).
gstin
String
GSTIN added in user cart. Example: '27AAACI1195H1ZK'
Shared cart id. Example: 'shrt_abc123'
is_valid
Boolean
Valid flag for get shared cart detail API. Example: true
List of items with id, size, store id, sizes, and related data.
last_modified
String
Last modified timestamp of user cart. Example: '2025-10-07T10:30:00Z'
message
String
Message of the get shared cart API response. Example: 'Shared cart fetched successfully'
payment_selection_lock
PaymentSelectionLock
Payment Default Selection Schema.
restrict_checkout
Boolean
Restrict checkout flag. Example: false
shared_cart_details
SharedCartDetails
Shared cart details including token, user, created_on, source, and meta.
Cart id of the user cart. Example: '5bb521cfdc83215e1889b346'
custom_cart_meta
JSON
Metadata of custom cart. Example: { channel: 'web' }