文档
测试

订单打印/对账单接口

POST
http://xxxxx/pos/order/print

接口描述

旧的接口:http://xxxxx/ss_wx/order_print

请求头

参数名
类型
描述
必填
content-type
str
application/json
必填

请求参数

参数名
类型
描述
必填
user_id
str
登录账户id
必填
pos_group_id
str
用户组id
必填
token
str
用户登录token
必填
order_id
int
订单id
必填

响应参数

参数名
类型
描述
必填
flag
Boolean
访问状态true / false
必填
msg
str
访问日志
必填
TokenTrue
boolena
token状态
必填
pos_order
object
订单信息
必填
discount
float
订单折扣
必填
m_date
str
订单下单时间
必填
f_date
str
订单结账时间
必填
need_to_pay
float
需支付金额
必填
order_id
int
订单id
必填
origin_reference
str
订单号
必填
p_total
float
订单金额
必填
pay_info
list
订单行内容
必填
c_id
int
产品类别id
必填
combo_details
list
非套餐为空[]
必填
category_leixing
str
套餐类型名称
必填
category_leixing_id
int
套餐类型id
必填
category_name
str
套餐分组名称
必填
category_name_id
int
套餐分组id
必填
menu_list
list
必填
c_id
int
产品类别id
必填
cuisine
list
做法(为空)
必填
name
str
产品名称
必填
original_price_unit
float
产品原价
必填
p_id
int
产品id
必填
p_s_id
int
套餐id
必填
price
float
产品价格
必填
qty
float
选择数量
必填
select_num
float
选择数量(统一使用该字段的数量)
必填
uom
str
单位
必填
cuisine
list
做法
必填
id
int
做法id
必填
name
str
做法名称
必填
name
str
产品名称
必填
num
float
数量
必填
p_id
int
产品id
必填
pnotes
str
保留字段
必填
pos_order_line_id
int
订单行id
必填
price
float
单价
必填
sdnotes
str
保留字段
必填
temporary_flag
boolean
临时菜标示,true=临时菜,false=非临时菜
必填
temporary_context
str
临时菜名称(套餐不返回)
必填
temporary_uom
str
临时菜单位(套餐不返回)
必填
uom
str
单位
必填
user_id
int
收银员id
必填
default_code
str
套餐唯一编码(套餐返回)
必填
pinyin_str
str
套餐拼音首字母(套餐返回)
必填
extend_combo_flag
boolean
是否外部套餐(套餐返回)
必填
pay_method
list
支付方式
必填
money
float
金额
必填
paymethodname
str
支付方式名称
必填
table_name
str
桌台名称
必填