API Documentation >> API 2.0 Main >> Entities >> CodeRedemption

CodeRedemption Entity

{
    coupon: {
        couponCode:                 // coupon code
        successful:                 // true|false
        message:                    // failure message if successful=false
    }
}

Example Entities

{
    coupon: [
    {
        couponCode: PFWHZSIT
        successful: true
    }
    {
        couponCode: PFWHZSIX
        successful: false
        message: invalidCouponCode
    }
    ]
}