POST api/Customer/CPOrderDiscounts?country={country}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
country | Countries |
Required |
Body Parameters
CPDiscountName | 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
IPostXMLResultName | Description | Type | Additional information |
---|---|---|---|
PostResult | RequestResult |
None. |
|
Message | string |
None. |
|
Status | string |
None. |
|
Identifier | string |
None. |
|
Timestamp | date |
None. |
|
EntityObject | Object |
None. |
|
DocNum | integer |
None. |
|
CardCode | string |
None. |
|
IsCreatedInUS | integer |
None. |
|
IsCreatedInCA | integer |
None. |
|
IsUpdatedInUS | integer |
None. |
|
IsUpdatedInCA | integer |
None. |
|
AddressName | string |
None. |
|
USAccountToken | string |
None. |
|
CAAccountToken | string |
None. |
|
AcountPaymentToken | string |
None. |
|
CPTotal | decimal number |
None. |
|
ShippingCharge | decimal number |
None. |
|
ShippingTax | decimal number |
None. |
|
Tax | decimal number |
None. |
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.