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": "439e9270-37a1-483e-a293-e63efffd5fea",
"UserUUIDCur": "87d9ac32-c6e8-41e9-a1ad-81f20fb32713",
"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": "d9591496-cd9b-454c-8713-52514defc532",
"ConfirmButtonChar": "sample string 4",
"CurrencyCode": "sample string 5",
"LanguageCode": "sample string 6",
"Description": "sample string 7"
},
"products": [
{
"ProductID": 1,
"PhotoUUID": "f3619331-b52f-4fee-bdb8-c75e1808b4de",
"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": "35f1914b-d0f1-4835-b59f-4951311ed8a0"
},
{
"ProductID": 1,
"PhotoUUID": "f3619331-b52f-4fee-bdb8-c75e1808b4de",
"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": "35f1914b-d0f1-4835-b59f-4951311ed8a0"
}
],
"UserUUIDCur": "f4d45d61-eb66-4a2f-8270-21780b5b8420"
}