POST api/AppOrder/AppSaveCartDiscount
AppSaveCartDiscount
Request Information
URI Parameters
None.
Body Parameters
SaveCartDiscount_RequestName | 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": "c7362d8a-513c-4b67-a616-df50d6aad78b", "UserUUIDCur": "1be5e35c-97ca-4130-96bd-073cd9fdd82a", "ProductID": 2, "ProductValue": 3.1, "ProductQ": 4 }
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
GetCartDiscount_ResponseName | 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": "cd5ba45d-cee1-4cfa-9d90-2e044dd17125", "ConfirmButtonChar": "sample string 4", "CurrencyCode": "sample string 5", "LanguageCode": "sample string 6", "Description": "sample string 7" }, "products": [ { "ProductID": 1, "PhotoUUID": "9c6c3d1a-2e85-48d9-a1ca-433702243246", "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": "5ce90e7e-cad2-4344-9a79-e00d2b050896" }, { "ProductID": 1, "PhotoUUID": "9c6c3d1a-2e85-48d9-a1ca-433702243246", "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": "5ce90e7e-cad2-4344-9a79-e00d2b050896" } ], "UserUUIDCur": "cfab2cc6-b98a-4456-b98e-b5f03593d905" }