Remove coupan
Remove coupon if applied
This endpoint allows you to remove coupon from the car
GET
https://castleindia.in/emart/public /api/remove-coupan Remove applied coupon
Headers
Name
Type
Description
Authorization*
String
Bearer { bearer token without brackets }
Accept*
String
application/json
Request Body
Name
Type
Description
String
coupan id eg : 1
{
"msg": "HELLO coupan removed !",
"status": "success",
"subtotal": 1485.76,
"shipping": 0,
"grand_total": 1485.76
}
IF response fail
{
'msg' => 'Invalid coupan !',
'status' => 'fail'
}
{
'msg' => 'Coupan id is required',
'status' => 'fail'
}
Last updated
Was this helpful?