POST api/Customer/AddDiscounts?country={country}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| country | Countries |
Required |
Body Parameters
Discount| Name | Description | Type | Additional information |
|---|---|---|---|
| DiscountId | string |
None. |
|
| Name | string |
None. |
|
| AccountId | string |
None. |
|
| User | string |
None. |
|
| OrderId | string |
None. |
|
| DiscountAmount | decimal number |
None. |
|
| CVDeduction | integer |
None. |
|
| DiscountNote | string |
None. |
|
| DiscountedSKU | string |
None. |
|
| DiscountTypeString | string |
None. |
|
| DiscountPromoString | string |
None. |
|
| CreatedDateString | string |
None. |
|
| CreatedTimeString | string |
None. |
|
| ActiveValue | integer |
None. |
Request Formats
application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
stringResponse Formats
application/json, text/json
Sample:
"sample string 1"
application/xml, text/xml
Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>