文档
测试

预下单

POST
/sale/order/confirm.html

请求参数

参数名
类型
描述
必填
device
string
示例:mini
可选
token
string
示例:mini_a917783eb93bf5899c2a65c2b51e8524
可选
confirm_goods
string
示例:[{"option_id":352,"goods_number":1}]
可选

响应参数

参数名
类型
描述
必填
result
boolean
示例:true
必填
data
object
数据字典
必填
leave_word
string
示例:
必填
pay_total_sum
string
示例:599.00
必填
goods_total_sum
string
示例:599.00
必填
freight_total_sum
string
示例:0.00
必填
rand_discount_sum
string
示例:0.00
必填
goods_amount_sum
number
示例:1
必填
address
object
示例:null
必填
order
array
数据列表
必填
warehouse_id
string
示例:0
必填
middle_platform_type
string
示例:0
必填
goods_total
string
示例:599.00
必填
goods_origin_total
string
示例:599.00
必填
freight_total
string
示例:0.00
必填
rand_discount
string
示例:0.00
必填
order_total
string
示例:599.00
必填
pre_pay_total
string
示例:599.00
必填
order_goods
array
数据列表
必填
goods_id
string
示例:337
必填
option_id
string
示例:352
必填
goods_sn
string
示例:GO1000000352
必填
goods_number
number
示例:1
必填
goods_thumb
string
示例:https://file-share-image.chenyi-tech.com/1bb379e6c8f26c4ed6380400cfa80acc.jpg
必填
goods_price
string
示例:599.00
必填
goods_price_origin
string
示例:599.00
必填
market_price
string
示例:0.00
必填
settlement_price
string
示例:0.00
必填
promotion_money
string
示例:0.00
必填
tax
string
示例:0.00
必填
goods_title
string
示例:店主套餐3
必填
goods_unit
string
示例:件
必填
goods_option_name
string
示例:
必填
is_option
string
示例:0
必填
digit_stock_number
string
示例:0
必填
goods_type
string
示例:2
必填
goods_sn_gd
string
示例:GD1000000337
必填
goods_weight
string
示例:0.000
必填
goods_volume
string
示例:0.00
必填
warehouse_id
string
示例:0
必填
is_freight
string
示例:0
必填
freight_id
string
示例:0
必填
goods_freight
string
示例:0.00
必填
activity_type
string
示例:0
必填
activity_type_msg
string
示例:
必填
activity_info
object
示例:null
必填
middle_platform_type
string
示例:0
必填
supply_goods_sn
string
示例:
必填
freight_extra
string
示例:0.00
必填
confirm_goods
array
数据列表
必填
option_id
number
示例:352
必填
goods_number
number
示例:1
必填
is_at_default_shop
number
示例:0
必填
msg
string
示例:success
必填
code
number
示例:0
必填