文档
测试

创建订单

POST
api/order/createOrder

接口描述

创建订单

请求参数

参数名
类型
描述
必填
store_id
int
门店id
必填
goods_id
int
商品id
必填
date_id
int
日期id
必填
checi_id
int
车次id
必填
user_discount_coupon_num
int
抵扣劵使用数量
必填
people_count
int
出行人总数
必填
people_info
string
出行人信息 json串 示例:[{"name":"李元芳","id_card":"371426199610259898","mobile":"18600000000"}]
必填
contacts
string
联系人姓名
必填
mobile
string
联系人电话
必填
user_remark
strig
备注
可选

响应参数

参数名
类型
描述
必填
order_sn
string
订单编号
必填
is_pay
int
是否需要支付 1需要 0不需要(价格为0) 如果is_pay等于0 直接跳转支付成功页面
必填