POST api/ReferralCodeDiscount/AddReferralCodeDiscount
Request Information
URI Parameters
None.
Body Parameters
ReferralCodeDiscountName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
Discount | integer |
None. |
|
DiscountAmount | decimal number |
None. |
|
MinimumCartValue | decimal number |
None. |
Request Formats
application/json, text/json
Sample:
{ "Id": 1, "Discount": 2, "DiscountAmount": 3.0, "MinimumCartValue": 4.0 }
application/octet-stream
Sample:
{"$id":"1","Id":1,"Discount":2,"DiscountAmount":3.0,"MinimumCartValue":4.0}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/octet-stream
Sample:
Sample not available.