Apply Coupans
Apply a coupon on the user cart
This endpoint allows you to get free cakes
GET
https://castleindia.in/emartv7/public /api/apply-coupans /api/apply-coupans
Headers
Name
Type
Description
Accept*
String
application/json
Authentication*
String
Bearer {bearer token without brackets}
Request Body
Name
Type
Description
currency*
Integer
currency code eg : INR
coupen_id*
Integer
Coupan id eg : 1
{
"msg": "HELLO Applied Successfully !",
"status": "success",
"subtotal": 1485.76,
"shipping": 0,
"grand_total": 1385.76
}
If response fail
{
"msg": "For Apply this coupon your cart total should be 7273.719 or greater !",
"status": "fail"
}
Last updated
Was this helpful?