简要描述:

  • 门店购物车--清空购物车

请求方法:

GET

请求URL:

https://你的域名/addons/yun_shop/api.php?i={{平台id}}&route=plugin.store-cashier.frontend.shoppingCart.member-cart.destroy

参数:

参数名 是否必须 类型 说明
ids string 购物车记录id字符串,id之间用英文逗号连接
store_id int 门店id

返回示例:

正确时返回:

{
  "result": 1,
  "msg": "移除购物车成功。",
  "data": []
}

错误时返回:

  {
    "result": 0,
    "msg":"错误提示",
    "data": []
  }

备注:

  • 更多返回错误代码请看首页的错误代码描述