POST api/AppOrder/AppSaveCartDiscount
AppSaveCartDiscount
Request Information
URI Parameters
None.
Body Parameters
SaveCartDiscount_Request| Name | Description | Type | Additional information |
|---|---|---|---|
| CartUUID | globally unique identifier |
None. |
|
| UserUUIDCur | globally unique identifier |
None. |
|
| ProductID | integer |
None. |
|
| ProductValue | decimal number |
None. |
|
| ProductQ | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"CartUUID": "3d3c1f45-6fb5-469d-8122-687480127156",
"UserUUIDCur": "c365d014-d393-46af-8078-3f60774f2bed",
"ProductID": 2,
"ProductValue": 3.1,
"ProductQ": 4
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
GetCartDiscount_Response| Name | Description | Type | Additional information |
|---|---|---|---|
| discountParams | DiscountParams |
None. |
|
| products | Collection of DiscountProducts |
None. |
|
| UserUUIDCur | globally unique identifier |
None. |
Response Formats
application/json, text/json
Sample:
{
"discountParams": {
"MinCartDiscount": 1.1,
"MinCartValue": 1.1,
"MaxCartDiscount": 1.1,
"Value": 1.1,
"CartDateEnable": true,
"ValueUSD": 1.1,
"ValueEUR": 1.1,
"ValueRUB": 1.1,
"CartWholeValue": 1.1,
"MaxCartValue": 1.1,
"MaxCartDiscount2": 1.1,
"MinCartValue2": 1.1,
"Quantity": 1,
"CurrencyName": "sample string 1",
"Descr": "sample string 2",
"Descr2": "sample string 3",
"VIPLevelID": 1,
"PaymentUUID": "0167ef9c-6f66-49c2-8330-aa170131c090",
"ConfirmButtonChar": "sample string 4",
"CurrencyCode": "sample string 5",
"LanguageCode": "sample string 6",
"Description": "sample string 7"
},
"products": [
{
"ProductID": 1,
"PhotoUUID": "1d1e991a-4bd6-425d-94ea-fd0c862a1900",
"ProductName": "sample string 2",
"ProductLevelDiscount": 3.1,
"MinProductValue": 4.1,
"MaxProductValue": 5.1,
"MinProductValue2": 6.1,
"Quantity": 7,
"i": 1,
"CurrencyName": "sample string 8",
"ChainR": true,
"ChainL": true,
"Promo": true,
"UserUUIDCur": "5b19c370-2dea-4703-a62c-1d8c5d9467b5"
},
{
"ProductID": 1,
"PhotoUUID": "1d1e991a-4bd6-425d-94ea-fd0c862a1900",
"ProductName": "sample string 2",
"ProductLevelDiscount": 3.1,
"MinProductValue": 4.1,
"MaxProductValue": 5.1,
"MinProductValue2": 6.1,
"Quantity": 7,
"i": 1,
"CurrencyName": "sample string 8",
"ChainR": true,
"ChainL": true,
"Promo": true,
"UserUUIDCur": "5b19c370-2dea-4703-a62c-1d8c5d9467b5"
}
],
"UserUUIDCur": "136dcda7-6218-456f-8375-37c33f31bb0c"
}