POST V2/ShoppingCart

Request Information

URI Parameters

None.

Body Parameters

CartItem
NameDescriptionTypeAdditional information
Sku

string

None.

Attr1

integer

None.

Attr2

integer

None.

Attr3

integer

None.

MemberId

string

None.

Qty

integer

None.

IsDetailPage

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "Sku": "sample string 1",
  "Attr1": 2,
  "Attr2": 3,
  "Attr3": 4,
  "MemberId": "sample string 5",
  "Qty": 6,
  "IsDetailPage": true
}

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'CartItem'.

Response Information

Resource Description

SystemResult
NameDescriptionTypeAdditional 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
}