Coupon validity schema which includes coupon title, coupon code, next validation flag, valid flag, error display message and discount of coupon.
Fields
code
StringCoupon code of the coupon applied. Example: 'SAVE10'
discount
FloatCoupon discount value. Example: 150.0
display_message_en
StringDisplay message for coupon validity. Example: 'Coupon valid for this payment mode'
next_validation_required
BooleanWhether next page validation is required. Example: false
title
StringCoupon title. Example: 'SAVE10'
valid
BooleanWhether the coupon is valid. Example: true
error
StringError message for the selected payment mode. Example: 'Not valid on COD'
Was this section helpful?