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": "307d77ff-f287-446e-b3ff-84f6e9eff031", "UserUUIDCur": "92974eac-c0c1-4ccf-9254-c4f0e9b5d36e", "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": "2b77c745-ee2b-4e63-9234-cd09ff7f1cdb", "ConfirmButtonChar": "sample string 4", "CurrencyCode": "sample string 5", "LanguageCode": "sample string 6", "Description": "sample string 7" }, "products": [ { "ProductID": 1, "PhotoUUID": "bbaf86ad-68f7-4b7a-986a-b07d8c93ff94", "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": "1cb2a615-1c0b-4284-a853-82cb37f4dc51" }, { "ProductID": 1, "PhotoUUID": "bbaf86ad-68f7-4b7a-986a-b07d8c93ff94", "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": "1cb2a615-1c0b-4284-a853-82cb37f4dc51" } ], "UserUUIDCur": "a00ecdec-cbba-497d-a7bc-c8d49a915fa4" }