提交订单
更新时间:2022-03-21 11:31
描述

提交订单

URL

{你的ERP域名}/api_v2/mall_order/place_order

HTTP请求方式

post

是否需要登录

true

请求参数
字段 必选 类型及范围 说明
appid true string(16) 应用ID(appId)
sign true string(32) 签名参数
order_code true string 订单号
start_time false string 配送/自提开始时间段 不传默认立即配送
end_time false string 配送/自提开结束时间段 不传默认立即配送
date false string 配送日期 不传默认立即配送
point false int 抵扣的积分 不使用则不传
points_money false string 积分抵扣金额 不使用则不传
acom_id false int 现金抵用券ID 使用了优惠券 不传表示未使用
modes false int 配送方式 1或不传默认配送 2自提
address_id false int 收货地址ID 配送必传
order_type false int 订单类型 1在线支付 2货到付款 默认1
note false string 备注
alfl_id false int 物流公司ID
desk_number false string 桌台编号
recharge_money false string 代收充值金额
is_dk false int 是否使用代收充值金额抵扣订单金额
返回字段说明
字段 类型及范围 说明
status string 状态 y=成功 n=失败
info html 提示信息
data array 返回的数据
data[order_type] int 订单类型
data[pay_code] string 支付单号 order_type=1时返回
TIPS

提交订单