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": "f650b0cd-6f77-410b-9d95-f3e05b2bc961",
"UserUUIDCur": "01fb965d-0d63-4987-a218-65bd793efc99",
"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": "a7934d36-b7f2-48d1-9560-21acd5e4a5fd",
"ConfirmButtonChar": "sample string 4",
"CurrencyCode": "sample string 5",
"LanguageCode": "sample string 6",
"Description": "sample string 7"
},
"products": [
{
"ProductID": 1,
"PhotoUUID": "8704838c-214c-411b-8c1d-3e11e460b845",
"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": "a2765dbc-8908-413b-a2ec-15c995207172"
},
{
"ProductID": 1,
"PhotoUUID": "8704838c-214c-411b-8c1d-3e11e460b845",
"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": "a2765dbc-8908-413b-a2ec-15c995207172"
}
],
"UserUUIDCur": "89384c97-c926-436a-ac19-38546a8b6e17"
}