b2c.order.check_cost 确认订单价格统计接口
API应用级输入参数
member_id | int | Y | 会员id | |
accesstoken | string | Y | 会员登录返回的 accesstoken | |
area_id | int | N | 购物车确认收货地区ID | |
shipping_id | int | N | 配送方式 | |
is_protect | string | N | 是否支持物流保价 true | false |
cur | string | N | 支付货币(默认为后台设置的默认货币) | |
is_tax | string | N | 是否需要发票 | |
tax_type | string | N | 发票类型,不同发票类型为不同的费率 | |
dis_point | int | N | 抵扣积分 | |
platform | string | N | 适用平台默认pc 传入wap为触屏端 |
API应用级返回结果
成功后,返回结果
Array ( [rsp] => succ [data] => Array ( [cost_item] => 198.00 [cost_freight] => 0.00 [cost_protect] => 0.00 [discountPrice] => 0 [cost_payment] => 0.00 [cost_tax] => [consumeScore] => 0 [totalGainScore] => 178 [total_amount] => 198.00 ) [res] => d029d82d4f48f111e9607c67575e443c )
失败后,返回结果
Array ( [rsp] => succ [data] => Array ( [status] => [message] => 当前购物车为空,请添加商品 ) [res] => 19671b517ab398113a21fc48c2cf1e12 )