订单数据

接口说明

二维火提供商户订单数据接口,第三方系统可通过此接口获取商户订单数据

二维火商户和第三方系统商户进行id匹配;

接口定义

请求URL:

http://{servename}/router(二维火提供查询)

1、查询店铺订单列表

method="dfire.shop.order.list"

传递参数为:

字段说明 字段名 类型 可空(Y/N) 举例
门店id entityId String N 所属门店
统计日期 currDate String N 20161001

传递form表单参数实例:

appKey:cdc08577b61942442aa89390dacb25ad
timestamp:1476255107097
sign:DF0719FCD2B0CE188307595BB39F5DE9488DD57E
v:1.0
method:dfire.shop.order.list
entityId:3344
currDate:20161012

返回参数为:

字段说明 字段名 类型 可空(Y/N) 默认值
订单信息 orderVo OrderVo N  
实际支付信息 totalPayVo TotalPayVo N  
支付信息 payVoList List<PayVo_> N  
账单信息 serviceBillVo ServiceBillVo N  
[OrderVo]订单结构
字段说明 字段名 类型 可空(Y/N) 默认值
店铺Id entityId String N  
开单时间 openTime Long N  
座位名称 seatName String N  
座位CODE seatCode String N  
就餐人数 peopleCount Integer N 1
订单Id orderId String N  
账单号 innerCode String N  
单号 code String N  
全局单号 simpleCode String N  
结单时间 endTime Long N  
单据来源 orderFrom Short N  
订单类型 orderType Short N

1,正常开单

2,预订开单

3,排队开单

4,外卖开单

附加费方案 planName String Y  
附加费 planFee Double Y 0.00
区域 areaName String Y  
下单会员Id customerId String Y  
[TotalPayVo]实际支付信息结构
字段说明 字段名 类型 可空(Y/N) 默认值
发生日期 currDate Date N  
原始费用 sourceAmount Double N  
折后费用 discountAmount Double Y  
应付总额 resultAmount Double N  
实收总额 receiveAmount Double N  
外送费 outFee Double Y  
结账时间 operateDate Long N  
开发票额 invoice Double Y  
券优惠金额 couponDiscount Double Y  
[PayVo]支付结构
字段说明 字段名 类型 可空(Y/N) 默认值
店铺Id entityId String N  
付款方式 kindPayName String N  
支付类型 kindPaySortName String Y  
实收额 fee Double N 0.00
收银员编码 operatorCode String N  
收银员 operator String N  
收银时间 payTime Long N  
现收金额 pay Double N 0.00
找零 charge Double N 0.00
[ServiceBillVo]账单信息结构
字段说明 字段名 类型 可空(Y/N) 默认值
店铺Id entityId String N  
原始消费金额 originAmount Double N 0.00
原始服务费金额 originServiceCharge Double N 0.00
原始最低消费 originLeastAmount Double N 0.00
折后消费金额 agioAmount Double N 0.00
折后服务费 agioServiceCharge Double N 0.00
折后最低消费 agioLeastAmount Double N 0.00
原始应收金额 originReceivablesAmount Double N 0.00
折后应收金额 agioReceivablesAmount Double N 0.00
最终应收金额 finalAmount Double N 0.00
原始总金额 originTotal Double N 0.00
折后总金额 agioTotal Double N 0.00
预付金额 reserveAmount Double N 0.00
外送费 outFee Double N 0.00
不计营业额总额 notIncludeAmount Double N 0.00

返回参数 实例:

    {
    "success": true,
    "model": [
        {
            "orderVo": {
                "orderId": "9918007957ae5f060157b1bc829c0189",
                "innerCode": "201610110004",
                "entityId": "3344",
                "openTime": 1476155709,
                "peopleCount": 1,
                "code": 5,
                "simpleCode": "5200101474",
                "endTime": 1476236712,
                "orderFrom": 2,
                "orderType": 1,
                "planName": "打包",
                "planFee": 1
            },
            "totalPayVo": {
                "currDate": 1476201600000,
                "sourceAmount": 20.2,
                "discountAmount": 20.2,
                "resultAmount": 20.2,
                "receiveAmount": 20.2,
                "outFee": 0,
                "operateDate": 1476236712492,
                "invoice": 20.2,
                "couponDiscount": 0
            },
            "payVoList": [
                {
                    "entityId": "3344",
                    "type": 3,
                    "kindPayId": "0018007950925618015097f0a853006e",
                    "kindPayName": "储值卡",
                    "kindPaySortName": "储值卡",
                    "fee": 20,
                    "operator": "ADMIN",
                    "operatorCode": "0",
                    "payTime": 1476155709,
                    "pay": 20,
                    "charge": 0
                },
                {
                    "entityId": "3344",
                    "type": 0,
                    "kindPayId": "0018007950925618015097f0a8010066",
                    "kindPayName": "现金",
                    "kindPaySortName": "现金",
                    "fee": 0.2,
                    "operator": "ADMIN",
                    "payTime": 1476236711,
                    "pay": 0.2,
                    "charge": 0
                }
            ],
            "kindPayVoList": [
                {
                    "id": "0018007950925618015097f0a853006e",
                    "name": "储值卡",
                    "code": "002",
                    "kind": 5,
                    "kindPaySortNm": "储值卡"
                },
                {
                    "id": "0018007950925618015097f0a8010066",
                    "name": "现金",
                    "code": "001",
                    "kind": 0,
                    "kindPaySortNm": "现金"
                }
            ],
            "serviceBillVo": {
                "entityId": "3344",
                "originAmount": 20,
                "originServiceCharge": 0.2,
                "originLeastAmount": 0,
                "agioAmount": 20,
                "agioServiceCharge": 0.2,
                "agioLeastAmount": 0,
                "originReceivablesAmount": 20.2,
                "agioReceivablesAmount": 0,
                "finalAmount": 20.2,
                "originTotal": 20.2,
                "agioTotal": 20.2,
                "reserveAmount": 0,
                "outFee": 0,
                "discountAmount": 0,
                "notIncludeAmount": 0
            }
        },
        {
            "orderVo": {
                "orderId": "9918007957b249c40157b2cbccd400cc",
                "innerCode": "201610110005",
                "entityId": "3344",
                "openTime": 1476173494,
                "seatName": "too",
                "seatCode": "0000",
                "peopleCount": 1,
                "code": 10,
                "simpleCode": "3200102716",
                "endTime": 1476236699,
                "orderFrom": 2,
                "orderType": 1,
                "planName": "茶水",
                "planFee": 2,
                "areaName": "大厅"
            },
            "totalPayVo": {
                "currDate": 1476201600000,
                "sourceAmount": 291.1,
                "discountAmount": 9.5,
                "resultAmount": 9.5,
                "receiveAmount": 9.5,
                "outFee": 0,
                "operateDate": 1476236699753,
                "invoice": 0,
                "couponDiscount": 0
            },
            "payVoList": [
                {
                    "entityId": "3344",
                    "type": 3,
                    "kindPayId": "0018007950925618015097f0a853006e",
                    "kindPayName": "储值卡",
                    "kindPaySortName": "储值卡",
                    "fee": 9.5,
                    "operator": "ADMIN",
                    "operatorCode": "0",
                    "payTime": 1476173586,
                    "pay": 9.5,
                    "charge": 0
                }
            ],
            "kindPayVoList": [
                {
                    "id": "0018007950925618015097f0a853006e",
                    "name": "储值卡",
                    "code": "002",
                    "kind": 5,
                    "kindPaySortNm": "储值卡"
                }
            ],
            "serviceBillVo": {
                "entityId": "3344",
                "originAmount": 289.1,
                "originServiceCharge": 2,
                "originLeastAmount": 0,
                "agioAmount": 7.5,
                "agioServiceCharge": 2,
                "agioLeastAmount": 0,
                "originReceivablesAmount": 291.1,
                "agioReceivablesAmount": 0,
                "finalAmount": 9.5,
                "originTotal": 291.1,
                "agioTotal": 9.5,
                "reserveAmount": 0,
                "outFee": 0,
                "discountAmount": 281.6,
                "notIncludeAmount": 0
            }
        },
        {
            "orderVo": {
                "orderId": "9918007957ae59c90157b1822f1100e4",
                "innerCode": "201610110001",
                "entityId": "3344",
                "openTime": 1476151895,
                "seatName": "B1",
                "seatCode": "B1",
                "peopleCount": 1,
                "code": 1,
                "simpleCode": "9200101503",
                "endTime": 1476236689,
                "orderFrom": 2,
                "orderType": 1,
                "planName": "服务费",
                "planFee": 100,
                "areaName": "包厢"
            },
            "totalPayVo": {
                "currDate": 1476201600000,
                "sourceAmount": 273.1,
                "discountAmount": 273.1,
                "resultAmount": 273.1,
                "receiveAmount": 273.1,
                "outFee": 0,
                "operateDate": 1476236689585,
                "invoice": 0,
                "couponDiscount": 0
            },
            "payVoList": [
                {
                    "entityId": "3344",
                    "type": 0,
                    "kindPayId": "0018007950925618015097f0a8010066",
                    "kindPayName": "现金",
                    "kindPaySortName": "现金",
                    "fee": 273.1,
                    "operator": "ADMIN",
                    "payTime": 1476236688,
                    "pay": 273.1,
                    "charge": 0
                }
            ],
            "kindPayVoList": [
                {
                    "id": "0018007950925618015097f0a8010066",
                    "name": "现金",
                    "code": "001",
                    "kind": 0,
                    "kindPaySortNm": "现金"
                }
            ],
            "serviceBillVo": {
                "entityId": "3344",
                "originAmount": 173.1,
                "originServiceCharge": 100,
                "originLeastAmount": 200,
                "agioAmount": 173.1,
                "agioServiceCharge": 100,
                "agioLeastAmount": 200,
                "originReceivablesAmount": 273.1,
                "agioReceivablesAmount": 0,
                "finalAmount": 273.1,
                "originTotal": 273.1,
                "agioTotal": 273.1,
                "reserveAmount": 0,
                "outFee": 0,
                "discountAmount": 0,
                "notIncludeAmount": 0
            }
        }
    ],
    "totalRecord": 0
}

2、查询店铺订单详情列表

method="dfire.shop.order.instance.list"

传递参数为:

字段说明 字段名 类型 可空(Y/N) 举例
门店id entityId String N 所属门店
统计日期 currDate String N 20161001
订单Id列表 orderIds String N [“10001”,”10002”]

传递form表单参数实例:

appKey:cdc08577b61942442aa89390dacb25ad
timestamp:1476255107097
sign:DF0719FCD2B0CE188307595BB39F5DE9488DD57E
v:1.0
method:dfire.shop.order.instance.list
entityId:3344
currDate:20161012
orderIds:[“9918007957ae5f060157b1bc829c0189”,”9918007957b7ecfe0157b80540810029”]

返回参数为:

[InstanceVo]订单详情数据结构
字段说明 字段名 类型 可空(Y/N) 默认值
店铺Id entityId String N  
订单ID orderId String N  
点菜类型 kind Short N

1:普通菜

2:套菜

3:自定义菜

4:自定义套菜

5:加料菜

菜名 name String N  
做法id makeId String Y  
做法 makeName String Y  
结账数量 accountNum Double N 0.00
单价 price Double N 0.00
折扣率 ratio Double N 0.00
金额 fee Double N 0.00
折后金额 ratioFee Double N 0.00
规格id specItemId String Y  
规格名 specDetailName String Y  
结账单位 accountUnit String N  
是否使用会员价(1.00表示使用会员价,0.00表示不使用) isMemberPrice Double N 1
商品编码 menuCode String Y  
菜类名 kindMenuName String N  
根菜类名 rootKindMenuName String N  
是否赠菜 giveDish Boolean N  
是否取消(true:取消 false:没有取消) canceled Boolean N  
备注(退菜/赠菜理由) memo String Y  
操作人姓名(退菜/赠菜操作人) opUserName String Y  
点菜数量 num Double Y  
套餐子菜订单信息,但不包含金额、折后金额、折扣率、单价 suitInstanceVoList List<InstanceVo_> Y  

返回参数 实例:

    {
    "success": true,
    "model": [{
            "entityId": "00101734",
            "orderId": "001017346265ada5016265c32ec400b6",
            "kind": 2,
            "menuId": "001017346260572a016265abddb20447",
            "name": "套餐3",
            "accountNum": 1.0,
            "price": 52.0,
            "ratio": 100.0,
            "fee": 52.0,
            "ratioFee": 52.0,
            "accountUnit": "份",
            "isMemberPrice": 1.0,
            "kindMenuName": "夏日套餐",
            "rootKindMenuName": "夏日套餐",
            "giveDish": false,
            "canceled": false,
            "num": 1.0,
            "suitInstanceVoList": [{
                    "entityId": "00101734",
                    "orderId": "001017346265ada5016265c32ec400b6",
                    "kind": 1,
                    "menuId": "0010173461118bcd01611d022f960a00",
                    "name": "香蕉牛奶",
                    "accountNum": 1.0,
                    "accountUnit": "份",
                    "isMemberPrice": 1.0,
                    "kindMenuName": "啤酒",
                    "rootKindMenuName": "啤酒",
                    "giveDish": false,
                    "canceled": false,
                    "num": 1.0,
                    "parentId": "001017346265ada5016265c35d3c00bc"
            }, {
                    "entityId": "00101734",
                    "orderId": "001017346265ada5016265c32ec400b6",
                    "kind": 1,
                    "menuId": "001017345fd9bdf6015fe2b6b51853a5",
                    "name": "橙汁",
                    "specItemId": "001017345a74304e015a896400fc1fcc",
                    "accountNum": 1.0,
                    "specDetailName": "大份",
                    "accountUnit": "份",
                    "isMemberPrice": 1.0,
                    "kindMenuName": "啤酒",
                    "rootKindMenuName": "啤酒",
                    "giveDish": false,
                    "canceled": false,
                    "num": 1.0,
                    "parentId": "001017346265ada5016265c35d3c00bc"
            }]
    }],
    "totalRecord": 0
}

3、订单排队消息推送

传递参数为:

字段说明 字段名 类型 可空(Y/N) 默认值
方法名 method String N dfire.order.line.message.push
用户key appKey String N  
时间戳 timestamp String N  
签名数字 sign String N  
版本号 v String N  
店铺Id entityId String N  
本地语言 locale String N  
订单排队列表 orderLine String N  
[orderLine]排队订单数据结构:
字段名 类型 描述
shopInfo ShopInfo 店铺信息
lineList List<Line> 排队订单列表
[ShopInfo]店铺数据结构
字段名 类型 描述
shopName String 店家名称
shopAddress String 店家地址
shopTel String 店家电话号码
entityId String 二维火店家id
[Line]排队单数据结构
字段名 类型 描述
queueId String 排队id
overNum String 过号几桌可以重新安排
takeTime String 取票时间
customerNum String 就餐人数
waitingTime int 等待时间
seatType String 桌位类型:1:小桌; 2: 中桌; 3: 大桌; 4: 超大桌
waitingNum int 等待人数
tel String 顾客手机号码
ticketCode String 取号码:A001
minCustomerNum int 建议最小人数
statusCode int 排队状态码 1:”排队中”,2,”就餐中” ,3,”已过号”,4,”客户已取消”,5,”商家已取消” ,6,”已结束”
status String 排队状态描述
tips String 温馨提示
predictWaitTime int 预计等待时间,单位分钟
maxCustomerNum int 建议最大人数
seatName String 大桌、小桌
qrCode String 二维码地址

orderLine的json字符串示例如下:

"orderLine": [
    {
        "lineList": [
            {
                "queueId": "999280735e500302015e55ef529c494f",
                "overNum": 3,
                "takeTime": 1504680301212,
                "customerNum": 9,
                "waitingTime": 0,
                "entityId": "99928073",
                "seatType": "超大桌(7~0)人",
                "wxSceneId": "17505685",
                "waitingNum": 3,
                "ticketCode": "F04",
                "minCustomerNum": 0,
                "statusCode": 1,
                "status": "排队中"
            }
        ],
        "shopInfo": {
            "shopName": "藿香测试店",
            "shopAddress": "教工路552号二维火科技有限公公司",
            "shopTel": "15958043426",
            "entityId": "99929682"
        }
    }
]

4、查询店铺支付流水

method="dfire.shop.paymentflow.query"

传递参数为:

字段说明 字段名 类型 可空(Y/N) 举例
门店id entityId String N 所属门店
统计日期 currDate String N 20161001

传递form表单参数实例:

appKey:cdc08577b61942442aa89390dacb25ad
timestamp:1476255107097
sign:DF0719FCD2B0CE188307595BB39F5DE9488DD57E
v:1.0
method:dfire.shop.paymentflow.query
entityId:3344
currDate:20161012

返回参数为:

字段说明 字段名 类型 可空(Y/N) 默认值
支付流水 MerchantPaymentFlowVO Object N  
[MerchantPaymentFlowVO]支付流水数据结构
字段名 类型 描述
entityId String 店铺entityId
payDate String 时间yyyyMMdd
payDetail String 支付流水json
[payDetail]支付流水数据结构
字段名 类型 可空(Y/N) 描述
order_id String N 订单id
total_fee BigDecimal N 金额
status Integer N 0,待支付,1支付成功,10,待退款,11退款成功,和pay_status一起使用标识一些中介状态,支付成功条件: status=1 AND pay_status = 1
pay_status Integer N 0:预付1:支付成功
is_repeat Integer N 0:默认1:重复状态标示
pay_time String N 支付时间:2017-12-14 15:18:01.0
nonce_str String Y 随机字符串
actual_fee BigDecimal N 用户实际付款金额
refund_trade_no String Y 退款订单号
platform_rate BigDecimal N 平台费率
commission_rate BigDecimal N 佣金费率
trans_type String N 交易类型,00:普通支付;01:担保交易
return_merchant_amount BigDecimal N 返还商户金额
out_trade_no String Y 内部交易号
pay_channel String N 支付渠道 1:微信直连 2:支付宝直连 3:点评 4:会员卡 5:QQ钱包 6:威富通 7:工商银行 8:通联支付 9:网商银行 10:钱包支付 100:第三方支付 101:闪电购 102:澳门通

5、零售订单列表

method="dfire.retail.shop.order.list"

传递参数为:

字段说明 字段名 类型 可空(Y/N) 举例
门店id entityId String N 所属门店
统计日期 currDate String N 20161001

传递form表单参数实例:

appKey:cdc08577b61942442aa89390dacb25ad
timestamp:1476255107097
sign:DF0719FCD2B0CE188307595BB39F5DE9488DD57E
v:1.0
method:dfire.retail.shop.order.list
entityId:3344
currDate:20161012

返回参数为:

字段说明 字段名 类型 可空(Y/N) 默认值
零售订单列表 OrderInfoVo List<Object> N  
字段名 类型 描述
id String 订单ID
orderKind String 订单类型(1:收银下单;2:网上订单;4:上门自提;5:微店自助消费)
outType String 订单来源
code String 单号
shopId String 店铺ID
openTime long 开单时间(13位时间戳)
endTime long 结单时间(13位时间戳)
cardId String 会员卡ID(不用会员卡结算不返回)
card String 会员卡号(不用会员卡结算不返回)
degree BigDecimal 积分
payType Short 付款方式(请以下面payVoList中的kindPayId为准)
memo String 整单说明
ratio BigDecimal 折扣率
sendTime long 送货时间(13位时间戳)
address String 送货地址
receiverMobile String 收货人电话
receiverName String 收货人
outFee BigDecimal 运送费
sourceAmount BigDecimal 原始费用
discountAmount BigDecimal 折扣费用
resultAmount BigDecimal 应付费用
status short 订单状态(11:待付款,12:付款中,13:待分配,14:分配完成,15:待处理,16:已拒绝,17:配货中,18:已合并,19:打单,20:配送中,21:配送完成,22:已取消,23:交易关闭,24:配送完成 )
rejReason String 拒绝接单原因
createTime long 订单创建时间
instanceList List<InstanceVo> 订单详细
payVoList List<PayVo> 支付详细
[InstanceVo]订单详细数据结构
字段名 类型 描述
goodsId String 商品ID
orderId String 订单ID
categoryId String 类别ID
originalGoodsName String 商品名
originalPurchasePrice BigDecimal 进价
accountNum BigDecimal 结账数量
accountUnit String 结账单位
memo String 说明
price BigDecimal 销售单价
isRatio Byte 可否打折
isChangePrice Byte 是否允许修改单价
ratio BigDecimal 折扣率
ratioFee BigDecimal 折扣总额
salesPrice BigDecimal 折扣销售单价
finalRatio BigDecimal 最终折扣率
finalRatioFee BigDecimal 最终折扣价
percentage BigDecimal 提成比例
salesId String 促销Id
fee BigDecimal 折前总额
instanceExpansion InstanceExpansionVo 扩展属性
status Byte 商品状态
[InstanceExpansionVo]订单详细扩展属性数据结构
字段名 类型 描述
sku String sku属性值
consumePoints String 消费积分
hangTagPrice String 吊牌价
styleCode String 款号
innerCode String 店内码
hasPoints String 是否有赠送积分(1:赠送,2:不赠送)
goodsType String 商品类型
barCode String 商品条形码
percentage BigDecimal 商品提成百分比
[PayVo]订单支付数据结构
字段名 类型 描述
orderId String 商品ID
kindPayId String 付款类型(1:会员卡,2:优惠券,3:支付宝,4:支付宝,5:现金,8:支付宝,9:微信,50:货到付款,99:其他)
fee BigDecimal 实收额
isIncludedSalesAmount Byte 是否记入销售额
operator String 收银员
payTime Long 收银时间(13位时间戳)
pay BigDecimal 现收金额
charge BigDecimal 找零
cardId String 会员卡ID
cardEntityId String 会员卡系统Id
isDealed Byte 处理标识(对挂账收款的支持)
onlineBillid String 在线支付订单Id
code String 在线支付条码
waitingpayId String 等待支付ID
status Byte 支付状态

返回参数 实例:

{
    "success": true,
    "model": [{
        "id": "001835835eb7c271015eb7f19ee500af",
        "outType": "entity",
        "orderKind": 1,
        "code": "1S900357217092515301898043",
        "shopId": "838dafb60ff848f0924cd83c860f8f30",
        "openTime": 1506324618981,
        "endTime": 1506326371963,
        "degree": 0.00,
        "payType": 0,
        "mode": 0,
        "ratio": 100.00,
        "sendTime": 0,
        "payMode": 0,
        "outFee": 0.00,
        "sourceAmount": 75320.00,
        "discountAmount": 75320.00,
        "resultAmount": 75320.00,
        "sendStatus": 0,
        "status": 2,
        "createTime": 1506324618981,
        "instanceList": [{
            "id": "001835835eb7c271015eb7f4a3e900b6",
            "entityId": "00183583",
            "shopEntityId": "00183583",
            "shopId": "838dafb60ff848f0924cd83c860f8f30",
            "isValid": 1,
            "lastVer": 1,
            "opUserId": "db3db1edb7ab4ccd8312ec2eddc8e025",
            "createTime": 1506324816873,
            "opTime": 1506324816873,
            "goodsId": "b6bc93725589464a8dffd8dfe30f2644",
            "orderId": "001835835eb7c271015eb7f19ee500af",
            "categoryId": "0",
            "originalGoodsName": "一,1一一1入一",
            "originalPurchasePrice": 0.00,
            "type": 1,
            "accountNum": 5.000,
            "price": 14852.00,
            "isRatio": 0,
            "isChangePrice": 0,
            "ratio": 100.00,
            "ratioFee": 74260.00,
            "salesPrice": 14852.00,
            "finalRatioFee": 74260.00,
            "finalRatio": 100.00,
            "percentage": 0.00,
            "fee": 74260.00,
            "status": 2,
            "discountType": 0,
            "instanceExpansion": {
                "barCode": "601319921",
                "percentage": "0"
            }
        }, {
            "id": "001835835eb7c271015eb80c17de00b9",
            "entityId": "00183583",
            "shopEntityId": "00183583",
            "shopId": "838dafb60ff848f0924cd83c860f8f30",
            "isValid": 1,
            "lastVer": 1,
            "opUserId": "db3db1edb7ab4ccd8312ec2eddc8e025",
            "createTime": 1506326353886,
            "opTime": 1506326353886,
            "goodsId": "a98b98b7cb784646b0ee3bcbd1014b34",
            "orderId": "001835835eb7c271015eb7f19ee500af",
            "categoryId": "d81492ce7af64f6887de0e3b73f0c1aa",
            "originalGoodsName": "zhijin纸",
            "originalPurchasePrice": 0.00,
            "type": 1,
            "accountNum": 1.000,
            "price": 3.00,
            "isRatio": 0,
            "isChangePrice": 0,
            "ratio": 100.00,
            "ratioFee": 3.00,
            "salesPrice": 3.00,
            "finalRatioFee": 3.00,
            "finalRatio": 100.00,
            "percentage": 0.00,
            "fee": 3.00,
            "status": 2,
            "discountType": 0,
            "instanceExpansion": {
                "barCode": "6938619523983",
                "percentage": "0"
            }
        }],
        "payVoList": [{
            "id": "001835835eb7c271015eb80c5e6000ba",
            "entityId": "00183583",
            "shopEntityId": "00183583",
            "isValid": 1,
            "lastVer": 1,
            "opUserId": "db3db1edb7ab4ccd8312ec2eddc8e025",
            "createTime": 1506326371936,
            "opTime": 1506326371936,
            "orderId": "001835835eb7c271015eb7f19ee500af",
            "kindPayId": 5,
            "fee": 75320.00,
            "isIncludedSalesAmount": 1,
            "operator": "db3db1edb7ab4ccd8312ec2eddc8e025",
            "payTime": 1506326371936,
            "pay": 111000.00,
            "charge": 35680.00,
            "isDealed": 0,
            "type": 5
        }]
    }],
    "totalRecord": 0
}

6、零售退货订单列表

method="dfire.retail.shop.order.return.list"

传递参数为:

字段说明 字段名 类型 可空(Y/N) 举例
门店id entityId String N 所属门店
统计日期 currDate String N 20161001

传递form表单参数实例:

appKey:cdc08577b61942442aa89390dacb25ad
timestamp:1476255107097
sign:DF0719FCD2B0CE188307595BB39F5DE9488DD57E
v:1.0
method:dfire.retail.shop.order.return.list
entityId:3344
currDate:20161012

返回参数为:

字段名 类型 描述
extendSellReturn ExtendSellReturnVo 销售退货扩展信息
instanceList List<InstanceVo> 订单详细
payVoList List<PayVo> 支付详细
orderInfo OrderInfoVo 订单信息