文档
测试

订单历史(非电影)

GET
getOrderHistory

接口描述

通过日期查询订单历史。

请求参数

参数名
类型
描述
必填
page
Int
页数 返回结果中有总页数和总行数
必填
partnerCode
String
合作商 API code
必填
type
Int
类型 0电影票,1肯德基,3卡券
必填
date
String
订单日期 格式yyyy-MM-dd,可以不给这个参数
可选
startTime
int
查询订单开始时间,时间戳13位(毫秒)
可选
endTime
int
查询订单结束时间,时间戳13位(毫秒)
可选

响应参数

参数名
类型
描述
必填
orderCode
String
订单编号
必填
createTime
String
创建时间
必填
salePrice
Double
销售价
必填
deliverContent或deliverInfos
Json数组
发货信息 内容参考异步推送
必填
refundContent
Json数组
退款产品明细
必填
productCode
String
产品code
必填
productId
Int
产品id
必填
qty
Int
数量
必填
name
String
名称
必填
settlementPrice
Double
供货价格
必填
status
String
状态 0成功,1部分退款,2完全退款,3进行中,4售后
必填
fullStatus
int
0.新建订单 2. 已支付 3.已发货 4.完成订单 5 .开始发货 9.取消 10.售后待审核 11.售后通过审核 12. 售后审核不通过 13.售后催促审核 14.订单核算 15.售后审核不通过且不可再次提交审核
必填
statusNoAftersales
int
0.成功 1.部分退款 2.完全退款 3.进行中 5 .未付款 6.超时未支付
必填
paid
double
用户下单金额 ,金额为空时用户未支付
必填
sourceData
json
详细信息,如果有多个产品将会拆分成单一产品(即使是同一个产品有多个也会拆分)
必填
price
string
价格
必填
nameCn
string
中文名称
必填
imageUrl
string
图片路径
必填
salePrice
string
销售价
必填
showPrice
string
市场价
必填
startTime
string
开始时间
必填
endTime
string
结束时间
必填
showNameCn
string
显示名称
必填
productCode
string
产品号
必填
settlementPrice
string
供货价
必填
productId
string
产品id
必填
quantity
int
数量
必填
condimentRoundList
array
套餐才有
必填
condimentItemList
condimentItemList
数据列表 分组下的产品
必填
roundNameCn
string
分组的名称
必填
productId
string
产品Id
必填
selected_qty
int
选择数量
必填
addonPrice
double
换购加价
必填
showNameCn
string
显示名称
必填
firstPrice
string
示例:33.00 首单价格
可选
firstQuota
int
示例:2 首单条件数
可选
limitPrice
string
示例:33.00 限量价格
可选
limitQuota
int
示例:2 限量条件数
可选
partnerUserCode
string
第三方用户号
必填
extra
string
扩展参数
必填
salePrice
string
建议销售价
必填
showPrice
string
市场价
必填
settlementPrice
string
供货价
必填
payPrice
string
支付价
必填
refundPrice
string
退款金额
必填
payTime
string
支付时间
必填
deliverTime
string
发货时间
必填
createTime
string
下单时间
必填
deliverMode
int
0优惠出票
必填
lastUpdateTime
string
最后更新时间
必填
deliverType
int
就餐方式。0到店(含堂食和外带),1外卖
必填
takeaway
int
是否外带。0堂食,1外带
必填
mobile
string
联系手机号码
必填
storeCode
string
店铺编号
必填
profit
string
收益,只出现在h5订单
可选