GET api/MallShoppingCart/CountShoppingCartItemNum

会员 - 对购物车中商品计数

Request Information

URI Parameters

NameDescriptionTypeAdditional information
UserId

用户标识

integer

None.

UserState

用户状态码

integer

None.

ShoppingCartItemIds

商城购物车标识集合

Collection of integer

None.

ProductId

商城产品标识

integer

None.

ProductCategories

商品分类标识集合

string

None.

ProductMultiPriceId

商品多价格标识

integer

None.

ProductIsShelf

商品是否上架

boolean

None.

ProductIsAuditing

商品是否审核中

boolean

None.

ProductIsEffective

商品是否在有效期

boolean

None.

IsCheckStock

是否检查库存

boolean

None.

IsCheckProductPriceStrategy

是否检查因商品定价策略变化而引起的失效

boolean

None.

PageSize

每页条数

integer

None.

Search

关键字

string

None.

Keywords

关键字

string

None.

PageID

分页页数

integer

None.

Body Parameters

None.

Response Information

Resource Description

会员 - 对购物车中商品计数

integer

Response Formats

application/json

Sample:

An exception has occurred while using the formatter 'JsonpMediaTypeFormatter' to generate sample for media type 'application/json'. Exception message: 无法访问已关闭的流。

text/json

Sample:

An exception has occurred while using the formatter 'JsonpMediaTypeFormatter' to generate sample for media type 'text/json'. Exception message: 无法访问已关闭的流。

application/xml, text/xml

Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>