Apply loyalty points response schema which includes cart id, breakup values, coupon, coupon text, gstin etc.
Fields
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'
Was this section helpful?