订单查询
POST
https://api.v2.box.hetuntech.cn/mp/gateway
接口描述
订单查询
公共参数
请求参数
参数名
类型
描述
必填
deviceIdList
Array<String>
设备编号
可选
from
String
开始统计时间,格式YYYY-MM-DD,例如2023-05-01
可选
to
String
结束统计时间,格式YYYY-MM-DD,例如2023-05-01
可选
limit
Int
分页限制,每次查询数量(最大值500)
必填
offset
Int
分页限制,跳过的数据量
必填
userPhone
String
手机号
可选
响应参数
参数名
类型
描述
必填
code
int
状态码
必填
id
String
订单编号
必填
createdAt
String
订单时间
必填
totalPrice
Int
总金额(单位分)
必填
totalProfit
Int
总利润(单位分)
必填
sn
String
商品条码
必填
name
String
商品名称
必填
price
Int
单价(单位分)
必填
profit
Int
单件利润(单位分)
必填
number
Int
商品数量
必填
boxDeviceId
String
设备编号
必填
boxDeviceName
String
设备名称
必填
videoUrl
String
主摄视频地址
必填
subVideoUrl
String
副摄视频地址
必填
totalCount
Int
总数量
必填