POST Api/ShoppingCart/AddItem
Request Information
URI Parameters
None.
Body Parameters
CartItem| Name | Description | Type | Additional information |
|---|---|---|---|
| Sku | globally unique identifier |
None. |
|
| ProductId | globally unique identifier |
None. |
|
| ProdCode | string |
None. |
|
| Attr1 | globally unique identifier |
None. |
|
| Attr2 | globally unique identifier |
None. |
|
| Attr3 | globally unique identifier |
None. |
|
| AttrName1 | string |
None. |
|
| AttrName2 | string |
None. |
|
| AttrName3 | string |
None. |
|
| AttrTypeName1 | string |
None. |
|
| AttrTypeName2 | string |
None. |
|
| AttrTypeName3 | string |
None. |
|
| MemberId | globally unique identifier |
None. |
|
| CreateAt | date |
None. |
|
| Qty | integer |
None. |
|
| AddQty | integer |
None. |
|
| KolId | globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{
"Sku": "360fe6b3-34ce-4aa3-ad8b-285f2b06ce92",
"ProductId": "1f785bc5-45e2-4921-8998-14aacca1e36f",
"ProdCode": "sample string 3",
"Attr1": "914d1394-fe89-437d-ae7b-a31aec73f688",
"Attr2": "b7126224-594e-4502-901f-f6c094ce535c",
"Attr3": "5a54aafc-2dd1-4624-b476-4bfa6f7a2a41",
"AttrName1": "sample string 7",
"AttrName2": "sample string 8",
"AttrName3": "sample string 9",
"AttrTypeName1": "sample string 10",
"AttrTypeName2": "sample string 11",
"AttrTypeName3": "sample string 12",
"MemberId": "57c79d2a-0026-4808-8c23-3d4225d1b10e",
"CreateAt": "2026-02-24 14:24:56",
"Qty": 15,
"AddQty": 16,
"KolId": "285ad2ce-d7e8-49cc-bd4c-8832572d57d8"
}
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
SystemResult| Name | Description | Type | Additional information |
|---|---|---|---|
| Succeeded | boolean |
None. |
|
| Message | string |
None. |
|
| ReturnValue | Object |
None. |
Response Formats
application/json, text/json
Sample:
{
"Succeeded": true,
"Message": "sample string 2",
"ReturnValue": {}
}