Coupon Details ( Max Discount & Min Order Value )

Request URL: https://netmeds.nmz3.de/api/service/application/cart/v1.0/coupon?id=652e2d7b7af71cfd8f1ab3fd

path: /api/service/application/cart/v1.0/coupon?id=652e2d7b7af71cfd8f1ab3fd

Response :

{
“available_coupon_list”: [
{
“coupon_type”: “percentage”,
“coupon_value”: 0,
“coupon_code”: “200OFF”,
“title”: “20 % Off test by surjeet”,
“sub_title”: “20 % Off test by surjeet”,
“message”: “20 % Off test by surjeet”,
“description”: “20 % Off test by surjeet”,
“max_discount_value”: 0,
“minimum_cart_value”: 0,
“is_applicable”: true,
“is_applied”: false,
“expires_on”: “Valid for a limited time”,
“is_bank_offer”: false,
“offer_text”: “10.0 % OFF”,
“coupon_amount”: 0
},
],
}

While using this coupon api getting response with “0” value for Max Discount, Min Order Value, Coupon Value, Coupon Discount. Can check this issue. Give the solution for this coupon requirement.

You can check the response for mentioned coupon now-

{
“coupon_type”: “percentage”,
“coupon_value”: 10.0,
“coupon_code”: “200OFF”,
“title”: “20 % Off test by surjeet”,
“sub_title”: “20 % Off test by surjeet”,
“message”: “20 % Off test by surjeet”,
“description”: “20 % Off test by surjeet”,
“max_discount_value”: 2.0,
“minimum_cart_value”: 20.0,
“is_applicable”: true,
“is_applied”: false,
“expires_on”: “Valid for a limited time”,
“is_bank_offer”: false,
“offer_text”: “10.0 % OFF”,
“coupon_amount”: 2.0
}