POST AdminApi/ShoppingCart/AddItem

Request Information

URI Parameters

None.

Body Parameters

CartItem
NameDescriptionTypeAdditional 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.

Request Formats

application/json, text/json

Sample:
{
  "Sku": "806aff50-5835-4c54-9ae4-e9a38213e002",
  "ProductId": "6205bc46-16dd-491b-8668-47de15f4ed8b",
  "ProdCode": "sample string 3",
  "Attr1": "c3683f9c-097c-4d86-ab24-abae02649ffd",
  "Attr2": "23445eff-9583-46b6-b3c6-020db4991453",
  "Attr3": "ecd91896-ac0d-4853-ba48-d37eeac59e62",
  "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": "59972887-050b-4ca1-9f6d-f22f6dcdc3b9",
  "CreateAt": "2021-05-15 22:16:10",
  "Qty": 15,
  "AddQty": 16
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

SystemResult
NameDescriptionTypeAdditional information
Succeeded

boolean

None.

Message

string

None.

ReturnValue

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "Succeeded": true,
  "Message": "sample string 2",
  "ReturnValue": {}
}