GET api/v1/apply-coupon-common?custGuid={custGuid}&cartId={cartId}&CouponCode={CouponCode}&durationId={durationId}&pincode={pincode}&addressid={addressid}&clientId={clientId}&currencyName={currencyName}&currencySymbol={currencySymbol}&isUserAuthenticated={isUserAuthenticated}&sellerid={sellerid}

Request Information

URI Parameters
NameDescriptionTypeAdditional information
custGuid

globally unique identifier

Required

cartId

string

Required

CouponCode

string

Required

durationId

integer

Required

pincode

string

Required

addressid

integer

Required

clientId

integer

Required

currencyName

string

Required

currencySymbol

string

Required

isUserAuthenticated

boolean

Required

sellerid

integer

Default value is 0

Response Information

Description:

Return type: ApplyCouponModel

Response Formats
{
  "cart": {},
  "count": 1,
  "currencySymbol": "sample string 2",
  "subtotal": 3.0,
  "Deliverycharge": 1.0,
  "couponvalue": 4.0,
  "totaltax": 5.0,
  "shippingid": 1,
  "shippingmethod": "sample string 6",
  "shippingrate": 7.0,
  "total": 8.0,
  "msgamount": true,
  "iscouponcode": true,
  "FinalAmount": 11.0,
  "isCouponAlreadyAvailed": true,
  "isOrderAmountLess": true,
  "couponOrderAmount": 1.0,
  "CartGuid": "sample string 12",
  "couponcode": "sample string 13",
  "isOrderAmountMore": true,
  "MaxOrderAmount": 14.0,
  "isCouponExpired": true,
  "PromotionalMessage": "sample string 15",
  "ValidationMessage": "sample string 16"
}
{"cart":{},"count":1,"currencySymbol":"sample string 2","subtotal":3.0,"Deliverycharge":1.0,"couponvalue":4.0,"totaltax":5.0,"shippingid":1,"shippingmethod":"sample string 6","shippingrate":7.0,"total":8.0,"msgamount":true,"iscouponcode":true,"FinalAmount":11.0,"isCouponAlreadyAvailed":true,"isOrderAmountLess":true,"couponOrderAmount":1.0,"CartGuid":"sample string 12","couponcode":"sample string 13","isOrderAmountMore":true,"MaxOrderAmount":14.0,"isCouponExpired":true,"PromotionalMessage":"sample string 15","ValidationMessage":"sample string 16"}
<ApplyCouponModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FDCMSAdminAPI.Models.Cart">
  <CartGuid>sample string 12</CartGuid>
  <Deliverycharge>1</Deliverycharge>
  <FinalAmount>11</FinalAmount>
  <MaxOrderAmount>14</MaxOrderAmount>
  <PromotionalMessage>sample string 15</PromotionalMessage>
  <ValidationMessage>sample string 16</ValidationMessage>
  <cart />
  <count>1</count>
  <couponOrderAmount>1</couponOrderAmount>
  <couponcode>sample string 13</couponcode>
  <couponvalue>4</couponvalue>
  <currencySymbol>sample string 2</currencySymbol>
  <isCouponAlreadyAvailed>true</isCouponAlreadyAvailed>
  <isCouponExpired>true</isCouponExpired>
  <isOrderAmountLess>true</isOrderAmountLess>
  <isOrderAmountMore>true</isOrderAmountMore>
  <iscouponcode>true</iscouponcode>
  <msgamount>true</msgamount>
  <shippingid>1</shippingid>
  <shippingmethod>sample string 6</shippingmethod>
  <shippingrate>7</shippingrate>
  <subtotal>3</subtotal>
  <total>8</total>
  <totaltax>5</totaltax>
</ApplyCouponModel>