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": "82e3fa01-7c31-47d0-9f6c-2df2e657e9e0"
}
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": "3f17ec77-66b4-4ea4-bab5-afc6cf5b8982",
"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": "e678bb5d-e6e8-49f6-ba50-a5152ca0ea12",
"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": "b0fe10cb-57c7-4927-b153-d4bafbb3842e"
},
{
"ProductID": 1,
"PhotoUUID": "e678bb5d-e6e8-49f6-ba50-a5152ca0ea12",
"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": "b0fe10cb-57c7-4927-b153-d4bafbb3842e"
}
],
"UserUUIDCur": "d7cfa9d3-93a8-4eda-be78-f2e965e55df4"
}