POST api/ProductWebsite/CheckItemAlreadyPurchased
Request Information
URI Parameters
None.
Body Parameters
UserCart| Name | Description | Type | Additional information |
|---|---|---|---|
| user_id | integer |
None. |
|
| cart_items | Collection of CartItem |
None. |
|
| IsRegistered | boolean |
None. |
|
| IsPreviewAdded | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"user_id": 1,
"cart_items": [
{
"product_id": 1,
"type": "sample string 2",
"parent_product_id": 3,
"quantity": 4,
"add_to_cart": true,
"product_sku_id": 6,
"delivery_mode": "sample string 7"
},
{
"product_id": 1,
"type": "sample string 2",
"parent_product_id": 3,
"quantity": 4,
"add_to_cart": true,
"product_sku_id": 6,
"delivery_mode": "sample string 7"
}
],
"IsRegistered": true,
"IsPreviewAdded": true
}
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
JsonResultOfResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| Content | Response |
None. |
|
| SerializerSettings | JsonSerializerSettings |
None. |
|
| Encoding | Encoding |
None. |
|
| Request | HttpRequestMessage |
None. |
Response Formats
application/json, text/json
Sample:
Sample not available.