b2c.member.get_cart_info 根据会员ID获取购物车信息
API应用级输入参数
参数 | 类型 | 是否必须 | 说明 |
---|---|---|---|
member_id | int | Y | 会员ID |
accesstoken | string | Y | 会员登录返回的 accesstoken |
API应用级返回结果
成功后,返回结果
Array ( [rsp] => succ [data] => Array ( [object] => Array ( [goods] => Array ( [0] => Array ( [obj_ident] => goods_93_545 [obj_type] => goods [goods_id] => 93 [product_id] => 545 [name] => CLINIQUE 倩碧 旅行套装 [spec_info] => [store_real] => 96 [quantity] => 1 [price] => 398.000 [discount_price] => 0 [total_price] => 398.00 [score] => 0 [pic] => http://pic.shopex.cn/pictures/eimages/1a2a69af158fc2e6e87e54bf7448e4ff5ee2e26f4a.png?1286781621#w [gift] => [promotion] => ) ) [gift] => Array ( ) ) [order_promotion] => [subtotal_goods_price] => 398 [subtotal_discount_amount] => 0 [subtotal_gain_score] => 358.2 [subtotal_price] => 398.00 ) [res] => 0E148BFE5F0C05A0AEABB3D6FBED37D2 )
失败返回
Array ( [data] =>accesstoken fail [res] => 100001 [rep] => fail )