• 开发者平台
  • >
  • 餐饮文档中心

查询门店储值消费金额收费

(下行接口)按时间段查询门店储值消费金额

授权方式:门店授权

请求描述

HTTP请求方式:POST
HTTP请求头类型:Content-Type=application/json
URI:  /open/v1/crm/commercialTotalStore

请求参数

1.公共参数

详情可查看【公共说明】中的公共参数模块

2.业务参数

参数名 类型 是否必填 参数描述
shopId Long 门店id
accountType Integer 储值类型,1:虚拟账户储值,2:权益卡储值,3:临时卡储值
startDate Long 查询开始时间
endDate Long 查询结束时间

业务示例(JSON)

{
    "shopId": 810094162,
    "accountType": 1,
    "startDate": 1413132131321,
    "startDate": 1413132131321
    
}

响应参数

参数名 类型 是否必填 参数描述
code int 返回编码,详见错误码
message string 返回信息
messageUuid string 消息uuid
result CommercialTotalStoreQueryVO 返回响应数据,json对象,可空

CommercialTotalStoreQueryVO

参数名 类型 是否必填 参数描述
totalStoreValue Integer 累计实际储值
totalStoreSendValue Integer 累计赠送储值
totalRevokeStoreConsumeValue Integer 累计消费撤销储值
totalRevokeStoreConsumeSendValue Integer 累计消费撤销实际储值赠送
totalStoreConsumeValue Integer 累计实际储值消费
totalStoreConsumeSendValue Integer 累计赠送储值消费
totalRevokeStoreValue Integer 累计实际储值撤销
totalRevokeStoreSendValue Integer 累计实际赠送储值撤销

响应示例(JSON)

{
    "result": {
        "totalStoreValue": 10215829,
        "totalStoreSendValue": 0,
        "totalRevokeStoreConsumeValue": 38500,
        "totalRevokeStoreConsumeSendValue": 0,
        "totalStoreConsumeValue": 73100,
        "totalStoreConsumeSendValue": null,
        "totalRevokeStoreValue": 0,
        "totalRevokeStoreSendValue": 0
    },
    "code": 0,
    "message": "成功[OK]",
    "messageUuid": "3ea7f81107464829a11c0279f8424c93",
    "apiMessage": "成功[OK]"
}
目录
Copyright © 2012-2022 keruyun Inc. All rights reserved. | 蜀ICP备20018856号-4 | 川B2-20200580 | 川公网安备 51019002002879号
AI Chat