POST api/AppOrder/AppSaveCartProduct
AppSaveCartProduct
Request Information
URI Parameters
None.
Body Parameters
AppSaveCartProduct| Name | Description | Type | Additional information |
|---|---|---|---|
| ProductID | integer |
None. |
|
| UserUUIDCur | globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{
"ProductID": 1,
"UserUUIDCur": "bb6a2290-3b1f-4314-90ca-3db3fe30b8da"
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
AppGetCart_Response| Name | Description | Type | Additional information |
|---|---|---|---|
| Cart | CartInfo |
None. |
|
| Products | Collection of Product |
None. |
|
| UserUUIDCur | globally unique identifier |
None. |
Response Formats
application/json, text/json
Sample:
{
"Cart": {
"CartUUID": "eefbe66c-94b3-4d9b-8233-503c5146ff6e",
"CartValueChar": "sample string 1",
"WholeQuantity": 2,
"ConfirmButtonChar": "sample string 3",
"ProductIDList": "sample string 4",
"ValueUSD": 1.1,
"ValueEUR": 1.1,
"ValueRUB": 1.1
},
"Products": [
{
"ProductID": 1,
"PhotoUUID": "647e1a9e-4747-49be-a5aa-be77fbf0c36c",
"Quantity": 2,
"ProductIDMain": 1,
"i": 1,
"ProductName": "sample string 3",
"ProductValueChar": "sample string 4",
"ChainL": true,
"ChainR": true,
"Promo": true,
"ProductValueUSD": 1.1,
"ProductValueEUR": 1.1,
"ProductValueRUB": 1.1,
"UserUUIDCur": "fbe78ab3-9936-4fdc-8ea9-7b8a23982615"
},
{
"ProductID": 1,
"PhotoUUID": "647e1a9e-4747-49be-a5aa-be77fbf0c36c",
"Quantity": 2,
"ProductIDMain": 1,
"i": 1,
"ProductName": "sample string 3",
"ProductValueChar": "sample string 4",
"ChainL": true,
"ChainR": true,
"Promo": true,
"ProductValueUSD": 1.1,
"ProductValueEUR": 1.1,
"ProductValueRUB": 1.1,
"UserUUIDCur": "fbe78ab3-9936-4fdc-8ea9-7b8a23982615"
}
],
"UserUUIDCur": "ad31d097-326e-4285-9c2e-c42297258c20"
}