购物车编辑
POST
route=checkout/cart_info/updateHomePickCart
请求参数
参数名
类型
描述
必填
cart_id
int
购物车cart_id
必填
stock_type
int
采购类型 1-仓库随机 2-仓库指定
必填
type_id
int
交易类型 0-normal 1-rebate 2-margin 3-future 4-spot
必填
agreement_id
int|空
协议id 传id或者空
可选
quantity
int
加购数量
必填
stock_distribution
array
用户选择的库存分布,[{wh_id: "18", qty: 2}]
可选
响应参数
参数名
类型
描述
必填
code
int
示例:200
必填
msg
string
示例:Successfully.
必填
id
int
示例:77
必填
name
string
示例:RuiYaSi Store
必填
code
string
示例:W223
必填
is_available
boolean
示例:true
必填
is_connect
boolean
示例:true
必填
discounts
array
数据列表
必填
cart_id
int
示例:1719811
必填
id
int
示例:3333776
必填
sku
string
示例:W22333737
必填
product_name
string
示例:TEST T22303 TEST HHA
必填
product_type
int
示例:0
必填
icon
string
示例:/image/product/LTL.jpg
必填
description
string
示例:LTL products are more likely to experience higher-product return costs and experience longer shipping times
必填
product_image
string
示例:https://btbfile.oss-cn-hongkong.aliyuncs.com/image/wkseller/77/20211026_ceaa5cb2dc95c6f7017067b6e82c28ad.png
必填
product_thumb
string
示例:https://btbfile.oss-cn-hongkong.aliyuncs.com/image/wkseller/77/20211026_ceaa5cb2dc95c6f7017067b6e82c28ad.png?x-oss-process=image%2Fresize%2Cw_80%2Ch_80%2Cm_pad
必填
is_available
boolean
示例:true
必填
qty_exception
boolean
示例:false
必填
stock_exception
boolean
示例:false
必填
has_contact
boolean
示例:true
必填
transaction_type
int
示例:2
必填
transaction_type_name
string
示例:Margin:20220622429170
必填
procurement_method
string
示例:
必填
stock_distribution
string
示例:N/A
必填
qty
int
示例:1
必填
total_price
string
示例:68.40
必填
saleable_qty
int
示例:10
必填
default_price
float
示例:68.4
必填
price
float
示例:68.4
必填
is_custom
boolean
示例:false
必填
service_fee
float
示例:68.4
必填
product_value
int
示例:0
必填
use_tired_price_id
int
示例:0
必填
tiered_prices
array
数据列表
必填
is_use_discount
boolean
示例:false
必填
use_discount
object
示例:null
必填
stock_cloud_fee
int
示例:0
必填
campaigns
array
数据列表
必填
is_edit
boolean
示例:true
必填
seller_id
int
示例:77
必填