b2c.member.remove_cart 清除购物车信息购物车信息

参数 类型 是否必须 说明
member_id int Y 会员ID
accesstoken string Y 会员登录返回的 accesstoken
remove_all string N 如果该字段为 true 则表示清空购物车,一下参数则不需要必填
goods_id int Y 商品ID
product_id int Y 货品ID
num int N 购买数量(如果不填默认为1)(累加)
type N N 加入购物车商品类型,goods商品 gift赠品,默认goods

API应用级返回结果

成功后,返回结果

Array
(
    [rsp] => succ
    [data] => Array
        (
            [status] => true
            [message] => 
        )

    [res] => 078C328E592B4030B898268A671BF78D  
)

失败返回

Array
(

    [data] =>accesstoken fail
    [res] => 100001
    [rep] => fail
)