object

CartDetailCoupon

Cart-level coupon data including code, title, messages, value, and validity.
Fields
cashback_amount
Float
Cashback amount applied to the cart. Example: 50.0
cashback_message_primary
String
Primary cashback message. Example: 'You will receive ₹50 cashback'
cashback_message_secondary
String
Secondary cashback message. Example: 'Cashback credited within 48 hours'
coupon_code
String
Coupon code applied to cart. Example: 'SAVE10'
coupon_description
String
Description of the applied coupon. Example: '10% off on orders above ₹999'
coupon_id
String
Unique identifier of the coupon. Example: 'cpn_123'
coupon_subtitle
String
Coupon subtitle used for display. Example: 'Limited time offer'
coupon_title
String
Coupon title. Example: 'SAVE10'
coupon_type
String
Type of coupon. Example: 'percentage'
coupon_value
Float
Coupon value. Example: 10.0
discount
Float
Total discount earned from coupon. Example: 150.0
is_applied
Boolean
Whether any coupon is applied. Example: true
is_valid
Boolean
Whether the applied coupon is valid. Example: true
maximum_discount_value
Float
Maximum discount amount allowed. Example: 500.0
message
String
Coupon message for display. Example: 'Coupon applied successfully'
minimum_cart_value
Float
Minimum cart value required. Example: 999.0
custom_fields
[CustomField]
Additional custom attributes associated with the cart coupon for extended metadata and configuration