文档
测试

修改码单

POST
http://testgeli2.com/api/advanceOrder/edit

请求参数

参数名
类型
描述
必填
user_token
string
示例:ccde006bf4ee1a7d0d8dd911bd691748
必填
order_id
int
订单id
必填
customer_id
int
客户Id
必填
remark
string
备注
必填
order_goods[0][goods_id]
array
订单商品id
必填
order_goods[0][price]
array
价格
必填
order_goods[0][number]
array
数量
必填
order_goods[0][unit_number]
array
单位数量
必填
order_goods[0][additional][0][id]
附加费数据 - id
必填
order_goods[0][additional][0][value]
附加费数据 - value
必填

响应参数

参数名
类型
描述
必填
code
int
示例:200
必填
message
string
示例:ok
必填
data
object
数据字典
必填
customer
object
数据字典
必填
id
int
客户id
必填
customer_name
string
客户名
必填
mobile
string
手机号
必填
order
object
订单信息
必填
shop_id
int
必填
shop_order_number
int
票号
必填
remark
string
备注
必填
add_time
int
下单时间
必填
customer_id
string
客户id
必填
user_id
int
必填
order_id
string
订单id
必填
order_goods
array
订单商品信息
必填
goods_id
string
商店id
必填
price
string
价格
必填
number
string
数量
必填
unit_number
string
单位数量
必填
goods_name_history_id
int
示例:13
必填
pack_type
int
包装类型,1散装,2定装,3非定装
必填
weight
string
重量
必填
subtotal
int
小计
必填
unit
string
单位
必填
order_id
string
订单id
必填