提交订单
POST
https://zx.daoben.tech/web/index.php?_mall_id=1&r=api/order/submit
请求头
参数名
类型
描述
必填
x-access-token
string
示例:sOh7uP9nLk8quhVmJRtxSNnSmIPK8aMn
必填
X-App-Platform
string
示例:wxapp
必填
请求参数
参数名
类型
描述
必填
_mall_id
int
示例:1
必填
r
string
示例:api/order/submit
必填
form_data
string
示例:{"list":[{"mch_id":0,"goods_list":[{"id":283,"attr":[{"attr_id":1,"attr_group_id":1}],"num":1,"cart_id":85,"goods_attr_id":6634}],"distance":0,"remark":"","order_form":[],"use_integral":0,"user_coupon_id":0,"send_type":2}],"address_id":0,"address":{"name":"啊啊","mobile":"1231548745"}}
必填
响应参数
参数名
类型
描述
必填
code
int
示例:0
必填
mch_id
int
示例:0
必填
is_active
boolean
示例:false
必填
new_status
int
示例:0
必填
name
string
示例:哆米优选
必填
id
int
示例:78
必填
mall_id
int
示例:1
必填
user_id
int
示例:5
必填
goods_id
int
示例:467
必填
attr_id
int
示例:7496
必填
num
int
示例:2
必填
mch_id
int
示例:0
必填
is_strong
int
示例:1
必填
is_delete
int
示例:0
必填
sign
string
示例:
必填
created_at
string
示例:2022-05-04 16:20:28
必填
deleted_at
string
示例:0000-00-00 00:00:00
必填
updated_at
string
示例:2022-05-04 16:51:42
必填
attr_info
string
示例:{"id":7496,"goods_id":467,"sign_id":"1","stock":2365,"price":"85.00","cost_price":"20.83","no":"","weight":0,"pic_url":"","is_delete":0}
必填
id
int
示例:467
必填
mall_id
int
示例:1
必填
mch_id
int
示例:0
必填
supply_id
object
示例:null
必填
goods_warehouse_id
int
示例:467
必填
status
int
示例:1
必填
price
string
示例:6.00
必填
use_attr
int
示例:1
必填
attr_groups
string
示例:[{"attr_group_name":"包装规格","attr_list":[{"attr_name":"500ml","pic_url":"","attr_id":1}],"count":0,"attr_group_id":1}]
必填
goods_stock
int
示例:2365
必填
virtual_sales
int
示例:235
必填
confine_count
int
示例:-1
必填
pieces
int
示例:0
必填
forehead
string
示例:0.00
必填
shipping_id
int
示例:0
必填
freight_id
int
示例:0
必填
give_integral
int
示例:0
必填
give_integral_type
int
示例:1
必填
give_balance
string
示例:0.00
必填
give_balance_type
int
示例:1
必填
forehead_integral
string
示例:0.00
必填
forehead_integral_type
int
示例:1
必填
accumulative
int
示例:0
必填
individual_share
int
示例:0
必填
attr_setting_type
int
示例:0
必填
is_level
int
示例:1
必填
is_level_alone
int
示例:0
必填
is_recommend
int
示例:0
必填
share_type
int
示例:0
必填
sign
string
示例:
必填
app_share_pic
string
示例:
必填
app_share_title
string
示例:
必填
is_default_services
int
示例:1
必填
sort
int
示例:100
必填
created_at
string
示例:2022-04-12 21:34:47
必填
updated_at
string
示例:2022-05-04 16:21:13
必填
deleted_at
string
示例:0000-00-00 00:00:00
必填
is_delete
int
示例:0
必填
payment_people
int
示例:0
必填
payment_num
int
示例:0
必填
payment_amount
string
示例:0.00
必填
payment_order
int
示例:0
必填
confine_order_count
int
示例:-1
必填
is_area_limit
int
示例:0
必填
area_limit
string
示例:[{"list":[]}]
必填
tag
string
示例:郑州酒统
必填
form_id
int
示例:0
必填
sales
int
示例:0
必填
detail_count
int
示例:16
必填
guarantee_title
string
示例:商城基础保障
必填
guarantee_pic
string
示例:https://zx.daoben.tech/web/statics/img/mall/goods/guarantee/goods-pic.png
必填
param_name
string
示例:
必填
param_content
string
示例:[]
必填
name
string
示例:金六福金酿壹号
必填
cover_pic
string
示例:https://zx.daoben.tech/web/uploads/mall1/20220415/20d872ae4ee001c71e1deaccedf33002.jpg
必填
id
int
示例:1
必填
mall_id
int
示例:1
必填
mch_id
int
示例:0
必填
name
string
示例:体验门店1一
必填
mobile
string
示例:13383847899
必填
address
string
示例:中国河南省郑州市中原区柿园路
必填
province_id
int
示例:0
必填
city_id
int
示例:0
必填
district_id
int
示例:0
必填
longitude
string
示例:113.573399
必填
latitude
string
示例:34.755512
必填
score
int
示例:5
必填
cover_url
string
示例:https://zx.daoben.tech/web/uploads/mall1/20220228/362d49b7edea591934a75a626545ed45.jpg
必填
pic_url
string
示例:[{"id":"804","pic_url":"https:\/\/zx.daoben.tech\/web\/uploads\/mall1\/20220228\/33a629df75528d4d2e94f4b91bed6150.webp"},{"id":"807","pic_url":"https:\/\/zx.daoben.tech\/web\/uploads\/mall1\/20220228\/17128e505a43548e67f89931519338c6.jpg"}]
必填
business_hours
string
示例:00:00-24:00
必填
description
string
示例:<p>大型娱乐广场1啊啊啊<br/></p>
必填
scope
string
示例:
必填
is_default
int
示例:1
必填
created_at
string
示例:2021-01-21 15:44:41
必填
updated_at
string
示例:2022-04-28 15:07:30
必填
deleted_at
string
示例:0000-00-00 00:00:00
必填
is_delete
int
示例:0
必填
is_all_day
int
示例:1
必填
extra_attributes
string
示例:
必填
id
int
示例:7496
必填
goods_id
int
示例:467
必填
sign_id
string
示例:1
必填
stock
int
示例:2365
必填
price
string
示例:85.00
必填
cost_price
string
示例:20.83
必填
no
string
示例:
必填
weight
int
示例:0
必填
pic_url
string
示例:
必填
is_delete
int
示例:0
必填
reduce_price
int
示例:0
必填
attr_str
int
示例:0
必填
is_active
boolean
示例:false
必填
new_status
int
示例:0
必填
code
int
示例:0
必填