POST api/shoppingcart/updateGuestCart

更新游客購物車

Request Information

URI Parameters

None.

Body Parameters

UpdateGuestCartRQContract
NameDescriptionTypeAdditional information
guestid

游客ID

string

None.

memberid

會員ID

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "guestid": "sample string 1",
  "memberid": 2
}

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 'UpdateGuestCartRQContract'.

Response Information

Resource Description

更新游客購物車

ReturnResultOfBoolean
NameDescriptionTypeAdditional information
data

boolean

None.

code

状态码:100成功,其他自定义

integer

None.

message

提示消息

string

None.

Response Formats

application/json, text/json

Sample:
{
  "data": true,
  "code": 2,
  "message": "sample string 3"
}