选中小购物车单条条目
POST
/rest/default/V1/quick/cart/item/checked
接口描述
小购物车选中单条时使用
请求头
参数名
类型
描述
必填
contentType
string
application/json
必填
请求参数
参数名
类型
描述
必填
product_id
int
示例:1111 //商品ID
必填
qty
int
示例:1 // 商品数量
必填
product_type
string
示例:simple/configurable //商品类型
必填
option_id
int
示例:93 // 商品类型为configurable 时需要
可选
option_value
int
示例:2085 // 商品类型为configurable 时需要
可选
响应参数
参数名
类型
描述
必填
code
int
示例:200
必填
message
string
示例:success
必填