接口 cabinet.order.list

接口说明

获取自取柜订单列表

业务参数

参数名称 类型 是否必须 说明
startTime int Y 起始 Unix 时间戳
endTime int Y 结束 Unix 时间戳
page int Y 页码
pageSize int Y 每页记录数

返回示例

{
    "error_code": 0,
    "error_msg": "SUCCESS",
    "data": [ {
                "CID": "5f519ebf4405f00010750ef5",
                "OID": "5db266d87bd4810010954b0e",
                "BID": "5d254c16683ead0011492950",// 品牌商id
                "UserID": "6010e5488096f20010793f4d",
                "OpenID": "2088632654857329",
                "PayType": 202, // 支付方式 0=未知 1=微信(支付分) 2=支付宝 201=品牌商微信代收
                "PayExtend": {
                    "AppID": "2017071307740242",
                    "SellerID": "2088621968475392",
                    "AgreementNo": "20214927691364110332",
                    "CabinetCode": "971796934503"
                },
                "ClientIPAddress": "113.26.166.135",
                "ScenesType": 0, // 支付场景 0=扫码支付 1=友朋刷脸 2=微信刷脸 3=支付宝刷脸 4=密码购
                "ServiceStatus": 2,   // 服务状态 0=未开始服务 1=服务中 2=服务结束
                "TradeNo": "2021012722001457321424619414",// 第三方交易流水号
                "ThirdpartyAppID": "",
                "ReceiptNo": "OD210127120126902082", // 订单号
                "DoorStatus": 1, // 门状态  -1=没有开门 0=已关门 1=已开门
                "TradeRawData": {
                    "CompleteStatus": "Success",
                    "code": "10000",
                    "msg": "Success",
                    "buyerLogonId": "153******67",
                    "buyerPayAmount": "0.00",
                    "buyerUserId": "2088632654857329",
                    "gmtPayment": "2021-01-27 12:02:11",
                    "invoiceAmount": "0.00",
                    "outTradeNo": "OD210127120126902082",
                    "pointAmount": "0.00",
                    "receiptAmount": "0.00",
                    "totalAmount": "0.02",
                    "tradeNo": "2021012722001457321424619414"
                },
                "PayTime": 1611720131,
                "Products": [
                    {
                        "Qty": 2,
                        "BarCode": "6954767410586",
                        "Name": "可口可乐纤维+500mlPET瓶",
                        "Price": 1,
                        "CostPrice": 40,
                        "TotalPrice": 2
                    }
                ],
                "DoorStatus": 0,
                "TradeStatus": 1,
                "Price": 2,
                "IsSuspicious": 0,
                "RefundsProducts": [],
                "RefundsPrice": 0,
                "RefundsRawData": {},
                "UserRefundsStatus": 0,
                "UserRefundsTime": 0,
                "UserRefundsReason": "",
                "UserRefundsRemarks": "",
                "UserRefundsImageUrl": [],
                "UserRefundsMobile": "",
                "UserOrderInfo": "",
                "RefundsTime": 0,
                "OpAccountID": "",
                "OpRefundsRemarks": "",
                "DealResultStatus": 0,
                "DealTime": 0,
                "DealRemarks": "",
                "SOpAccountID": "",
                "CompleteStatus": "Success",
                "CreateAt": 1611720086,
                "UpdatedAt": 1622788419,
                "ReplenisherAccountID": "5d25404ad66b8d0011cfab72",
                "TerminalCountry": "",
                "TerminalProvince": "广东省",
                "TerminalCity": "深圳市",
                "TerminalDistrict": "宝安区",
                "TerminalAddress": "宝安",
                "TerminalLocation": [
                    113.90888,
                    22.568768
                ],
                "Sex": 0,
                "UserProvince": "",
                "UserCity": "",
                "LandMarkID": "58ff19331d3379b009eda5dd",
                "LandMarkName": "福永",
                "IndustryParentID": "591fcdb69dc38f0f00f24a16",
                "IndustryParentName": "公司企业工厂",
                "IndustryID": "591fcdb65fa45c0f00b4ec13",
                "IndustryName": "零售类公司",
                "DeviceProductionCode": "971796934503",
                "id": "6010e5968096f20010793f4f",
                "UserVO": {
                    "Platform": 2,
                    "OpenID": "2088632654857329",
                    "Scope": "base",
                    "LastIPAddress": "113.26.166.135",
                    "MemberID": "6010e5798096f20010793f4e",
                    "NickName": "",
                    "Sex": 0,
                    "Province": "",
                    "City": "",
                    "ImageUrl": "",
                    "RawData": {},
                    "isFirstFlash": true,
                    "LastLoginTime": 1611720178,
                    "CreateAt": 1611720008,
                    "UpdatedAt": 1611720178,
                    "id": "6010e5488096f20010793f4d",
                    "MemberVO": {
                        "Mobile": "15383585867",
                        "NickName": "",
                        "Sex": 0,
                        "Platform": [
                            2
                        ]
                    }
                }
            }]
}
Copyright © YoPoint.com 2019 all right reserved,powered by Gitbook该文件修订时间: 2024-01-04 16:21:22

results matching ""

    No results matching ""