Request Parameters:


This method allows to apply discount and remove discount

Below url allows user to apply discount


URL: ../Api/Client/ApplyDiscount


Header:

Content-Type:application/json


Parameter:
{
   "ApiSecretKey":"d101g114q119n106g97y111j112d104",
   "CustomerGUID":"F1F13527-BA8E-4C5A-ACA2-9EC3D78B3FF4",
   "StoreId": "1",
   "DiscountCouponCode":"DIS20"
}

Response:
{
   "CustomerGuid": "f1f13527-ba8e-4c5a-aca2-9ec3d78b3ff4",
   "Message": "The coupon code was applied"
}

Below url allows user to remove discount :


URL: ../Api/Client/RemoveDiscount


Parameter:
{
        "ApiSecretKey":"d101g114q119n106g97y111j112d104",
      "CustomerGUID":"F1F13527-BA8E-4C5A-ACA2-9EC3D78B3FF4",
        "StoreId": "1",
        "DiscountCouponCode":"DIS20"
}


Response:
{
   "CustomerGuid": "f1f13527-ba8e-4c5a-aca2-9ec3d78b3ff4",
   "Message": "Removed coupon successfully."
}