POST api/Car/GetCarProQty

取得使用者購物車的項目數量 計算方式為所有商品與加購品的數量總合

Request Information

URI Parameters

None.

Body Parameters

GetCarProQty_Input
NameDescriptionTypeAdditional information
Ticket

身份票據

string

Required

userId

會員帳號

string

Required

Request Formats

application/json, text/json

Sample:
{
  "Ticket": "sample string 1",
  "userId": "sample string 2"
}

text/html

Sample:
{"Ticket":"sample string 1","userId":"sample string 2"}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

取得使用者購物車的項目數量 計算方式為所有商品與加購品的數量總合

GetCarProQty_Output
NameDescriptionTypeAdditional information
ticketVerified

驗證是否通過

boolean

None.

count

商品數量

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "ticketVerified": true,
  "count": 2
}

text/html

Sample:
{"ticketVerified":true,"count":2}