POST V2/ShoppingCart/AddToCart
Request Information
URI Parameters
None.
Body Parameters
CartItemName | Description | Type | Additional information |
---|---|---|---|
Id | globally unique identifier |
None. |
|
Sku | string |
None. |
|
Attr1 | integer |
None. |
|
Attr2 | integer |
None. |
|
Attr3 | integer |
None. |
|
MemberId | string |
None. |
|
LensMaterial | string |
None. |
|
LensColor | string |
None. |
|
Qty | integer |
None. |
|
IsDetailPage | boolean |
None. |
|
IsMake | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{ "Id": "f8d00ce7-f530-419b-800c-89779b0f1f86", "Sku": "sample string 2", "Attr1": 3, "Attr2": 4, "Attr3": 5, "MemberId": "sample string 6", "LensMaterial": "sample string 7", "LensColor": "sample string 8", "Qty": 9, "IsDetailPage": true, "IsMake": true }
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
SystemResultName | Description | Type | Additional information |
---|---|---|---|
Succeeded | boolean |
None. |
|
Message | string |
None. |
|
ReturnValue | Object |
None. |
|
Code | integer |
None. |
Response Formats
application/json, text/json
Sample:
{ "Succeeded": true, "Message": "sample string 2", "ReturnValue": {}, "Code": 4 }