DirectMailApi2.0
  1. 订单管理
DirectMailApi2.0
  • 鉴权说明
  • 订单状态
  • webhooks
  • 公共接口
    • 获取授权
      GET
    • 获取用户信息
      GET
    • 规格信息
      GET
    • 系统常量
      GET
    • 获取公告
      GET
    • 上传模版图片
      POST
    • webhooks
      POST
    • 获取历史公告
      GET
  • 用户接口
    • 订单管理
      • 明细订单统计
        GET
      • 月统计
        GET
      • 订单列表
        GET
      • 明细订单
        GET
      • 取消订单
        POST
      • 创建直邮订单
        POST
      • 创建数据订单
        POST
      • 修改订单标签
        POST
      • 获取订单内容
        GET
      • 批量获取订单内容
        POST
      • 历史订单列表
        GET
      • 创建直邮订单(新)
        POST
    • 财务管理
      • 余额变化列表
      • 充值订单
      • 历史余额变化列表
      • 历史充值订单
    • 模板管理
      • 模版列表
      • 新增模版
      • 删除模版
      • 修改模版名称
      • 历史模版列表
      • 模版预览
    • 地址管理
      • 地址标签列表
      • 明细地址列表
      • 创建地址标签
      • 删除地址标签
      • 地址绑定标签
      • 历史地址标签列表
    • 快捷标签管理
      • 快捷标签
      • 新增快捷标签
      • 删除快捷标签
    • 发件人管理
      • 发件人列表
      • 新增发件人
      • 删除发件人
    • 用户管理
      • 邀请用户
    • 子帐户管理
      • 子用户列表
      • 编辑子账号钱包
      • 创建子账号
    • 二维码
      • 创建二维码
        • 创建二维码-回邮
        • 创建二维码-落地页
        • 创建二维码-第三方链接
      • 二维码列表
        • 获取二维码列表
        • 修改二维码列表
        • 删除二维码
        • 禁用启用恢复二维码
        • 复制二维码
      • 场景分类管理
        • 获取分类管理
        • 修改分类管理
        • 添加分类管理
        • 删除分类管理
      • 案例
        • 添加案例
          • 添加回邮案例
          • 添加落地页案例
        • 获取案例列表
        • 删除案例
        • 复制案例
  • 更新日志
    • 2024-10-22 地址验证流程优化
    • 2024-10-14 地址后验证
  1. 订单管理

月统计

测试环境
http://api.testagent.mumamail.com/user
测试环境
http://api.testagent.mumamail.com/user
GET
/monthCountList

请求参数

Authorization
在 header 添加参数
x-token
示例:
x-token: ********************
Query 参数

示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'http://api.testagent.mumamail.com/user/monthCountList?country_code=&currency=' \
--header 'x-token;'

返回响应

🟢200成功
application/json
Body

示例
{
    "code": 0,
    "data": {
        "list": [
            {
                "id": 373,
                "created_at": "2023-03-16 23:19:46",
                "updated_at": "2023-04-19 22:51:40",
                "country_code": "Total",
                "month": "2023-03",
                "agent_id": 2,
                "total_send": 638,
                "postcard": 607,
                "letter": 31,
                "phone_data": 0,
                "email_data": 0,
                "currency": "CNY",
                "total_pay": "0",
                "sys_pay": "0",
                "wechat_pay": "0",
                "ali_pay": "0"
            },
            {
                "id": 376,
                "created_at": "2023-03-16 23:19:46",
                "updated_at": "2023-04-19 22:51:40",
                "country_code": "US",
                "month": "2023-03",
                "agent_id": 2,
                "total_send": 547,
                "postcard": 547,
                "letter": 0,
                "phone_data": 0,
                "email_data": 0,
                "currency": "CNY",
                "total_pay": "0",
                "sys_pay": "0",
                "wechat_pay": "0",
                "ali_pay": "0"
            },
            {
                "id": 383,
                "created_at": "2023-03-16 23:19:46",
                "updated_at": "2023-04-19 22:51:40",
                "country_code": "CA",
                "month": "2023-03",
                "agent_id": 2,
                "total_send": 0,
                "postcard": 0,
                "letter": 0,
                "phone_data": 0,
                "email_data": 0,
                "currency": "CNY",
                "total_pay": "0",
                "sys_pay": "0",
                "wechat_pay": "0",
                "ali_pay": "0"
            },
            {
                "id": 388,
                "created_at": "2023-03-16 23:19:46",
                "updated_at": "2023-04-19 22:51:40",
                "country_code": "GB",
                "month": "2023-03",
                "agent_id": 2,
                "total_send": 60,
                "postcard": 60,
                "letter": 0,
                "phone_data": 0,
                "email_data": 0,
                "currency": "CNY",
                "total_pay": "0",
                "sys_pay": "0",
                "wechat_pay": "0",
                "ali_pay": "0"
            },
            {
                "id": 393,
                "created_at": "2023-03-16 23:19:46",
                "updated_at": "2023-04-19 22:51:40",
                "country_code": "DE",
                "month": "2023-03",
                "agent_id": 2,
                "total_send": 31,
                "postcard": 0,
                "letter": 31,
                "phone_data": 0,
                "email_data": 0,
                "currency": "CNY",
                "total_pay": "0",
                "sys_pay": "0",
                "wechat_pay": "0",
                "ali_pay": "0"
            },
            {
                "id": 400,
                "created_at": "2023-03-16 23:19:46",
                "updated_at": "2023-04-19 22:51:40",
                "country_code": "IT",
                "month": "2023-03",
                "agent_id": 2,
                "total_send": 0,
                "postcard": 0,
                "letter": 0,
                "phone_data": 0,
                "email_data": 0,
                "currency": "CNY",
                "total_pay": "0",
                "sys_pay": "0",
                "wechat_pay": "0",
                "ali_pay": "0"
            },
            {
                "id": 405,
                "created_at": "2023-03-16 23:19:46",
                "updated_at": "2023-04-19 22:51:40",
                "country_code": "FR",
                "month": "2023-03",
                "agent_id": 2,
                "total_send": 0,
                "postcard": 0,
                "letter": 0,
                "phone_data": 0,
                "email_data": 0,
                "currency": "CNY",
                "total_pay": "0",
                "sys_pay": "0",
                "wechat_pay": "0",
                "ali_pay": "0"
            },
            {
                "id": 408,
                "created_at": "2023-03-16 23:19:46",
                "updated_at": "2023-04-19 22:51:40",
                "country_code": "ES",
                "month": "2023-03",
                "agent_id": 2,
                "total_send": 0,
                "postcard": 0,
                "letter": 0,
                "phone_data": 0,
                "email_data": 0,
                "currency": "CNY",
                "total_pay": "0",
                "sys_pay": "0",
                "wechat_pay": "0",
                "ali_pay": "0"
            },
            {
                "id": 411,
                "created_at": "2023-03-16 23:19:46",
                "updated_at": "2023-04-19 22:51:40",
                "country_code": "JP",
                "month": "2023-03",
                "agent_id": 2,
                "total_send": 0,
                "postcard": 0,
                "letter": 0,
                "phone_data": 0,
                "email_data": 0,
                "currency": "CNY",
                "total_pay": "0",
                "sys_pay": "0",
                "wechat_pay": "0",
                "ali_pay": "0"
            },
            {
                "id": 414,
                "created_at": "2023-03-16 23:19:46",
                "updated_at": "2023-04-19 22:51:40",
                "country_code": "NONE",
                "month": "2023-03",
                "agent_id": 2,
                "total_send": 0,
                "postcard": 0,
                "letter": 0,
                "phone_data": 0,
                "email_data": 0,
                "currency": "CNY",
                "total_pay": "0",
                "sys_pay": "0",
                "wechat_pay": "0",
                "ali_pay": "0"
            },
            {
                "id": 417,
                "created_at": "2023-03-16 23:19:46",
                "updated_at": "2023-04-19 22:51:40",
                "country_code": "NONE",
                "month": "2023-03",
                "agent_id": 2,
                "total_send": 0,
                "postcard": 0,
                "letter": 0,
                "phone_data": 0,
                "email_data": 0,
                "currency": "USD",
                "total_pay": "10000",
                "sys_pay": "10000",
                "wechat_pay": "0",
                "ali_pay": "0"
            },
            {
                "id": 418,
                "created_at": "2023-03-16 23:19:46",
                "updated_at": "2023-04-19 22:51:40",
                "country_code": "NONE",
                "month": "2023-03",
                "agent_id": 2,
                "total_send": 0,
                "postcard": 0,
                "letter": 0,
                "phone_data": 0,
                "email_data": 0,
                "currency": "EUR",
                "total_pay": "0",
                "sys_pay": "0",
                "wechat_pay": "0",
                "ali_pay": "0"
            },
            {
                "id": 419,
                "created_at": "2023-03-16 23:19:46",
                "updated_at": "2023-04-19 22:51:40",
                "country_code": "NONE",
                "month": "2023-03",
                "agent_id": 2,
                "total_send": 0,
                "postcard": 0,
                "letter": 0,
                "phone_data": 0,
                "email_data": 0,
                "currency": "ERR",
                "total_pay": "0",
                "sys_pay": "0",
                "wechat_pay": "0",
                "ali_pay": "0"
            },
            {
                "id": 851,
                "created_at": "2023-03-16 23:36:32",
                "updated_at": "2023-03-31 02:53:32",
                "country_code": "Total",
                "month": "2023-02",
                "agent_id": 2,
                "total_send": 0,
                "postcard": 0,
                "letter": 0,
                "phone_data": 0,
                "email_data": 0,
                "currency": "CNY",
                "total_pay": "0",
                "sys_pay": "0",
                "wechat_pay": "0",
                "ali_pay": "0"
            },
            {
                "id": 853,
                "created_at": "2023-03-16 23:36:32",
                "updated_at": "2023-03-31 02:53:32",
                "country_code": "US",
                "month": "2023-02",
                "agent_id": 2,
                "total_send": 0,
                "postcard": 0,
                "letter": 0,
                "phone_data": 0,
                "email_data": 0,
                "currency": "CNY",
                "total_pay": "0",
                "sys_pay": "0",
                "wechat_pay": "0",
                "ali_pay": "0"
            },
            {
                "id": 855,
                "created_at": "2023-03-16 23:36:32",
                "updated_at": "2023-03-31 02:53:32",
                "country_code": "CA",
                "month": "2023-02",
                "agent_id": 2,
                "total_send": 0,
                "postcard": 0,
                "letter": 0,
                "phone_data": 0,
                "email_data": 0,
                "currency": "CNY",
                "total_pay": "0",
                "sys_pay": "0",
                "wechat_pay": "0",
                "ali_pay": "0"
            },
            {
                "id": 859,
                "created_at": "2023-03-16 23:36:32",
                "updated_at": "2023-03-31 02:53:32",
                "country_code": "GB",
                "month": "2023-02",
                "agent_id": 2,
                "total_send": 0,
                "postcard": 0,
                "letter": 0,
                "phone_data": 0,
                "email_data": 0,
                "currency": "CNY",
                "total_pay": "0",
                "sys_pay": "0",
                "wechat_pay": "0",
                "ali_pay": "0"
            },
            {
                "id": 863,
                "created_at": "2023-03-16 23:36:32",
                "updated_at": "2023-03-31 02:53:32",
                "country_code": "DE",
                "month": "2023-02",
                "agent_id": 2,
                "total_send": 0,
                "postcard": 0,
                "letter": 0,
                "phone_data": 0,
                "email_data": 0,
                "currency": "CNY",
                "total_pay": "0",
                "sys_pay": "0",
                "wechat_pay": "0",
                "ali_pay": "0"
            },
            {
                "id": 865,
                "created_at": "2023-03-16 23:36:32",
                "updated_at": "2023-03-31 02:53:32",
                "country_code": "IT",
                "month": "2023-02",
                "agent_id": 2,
                "total_send": 0,
                "postcard": 0,
                "letter": 0,
                "phone_data": 0,
                "email_data": 0,
                "currency": "CNY",
                "total_pay": "0",
                "sys_pay": "0",
                "wechat_pay": "0",
                "ali_pay": "0"
            },
            {
                "id": 868,
                "created_at": "2023-03-16 23:36:32",
                "updated_at": "2023-03-31 02:53:32",
                "country_code": "FR",
                "month": "2023-02",
                "agent_id": 2,
                "total_send": 0,
                "postcard": 0,
                "letter": 0,
                "phone_data": 0,
                "email_data": 0,
                "currency": "CNY",
                "total_pay": "0",
                "sys_pay": "0",
                "wechat_pay": "0",
                "ali_pay": "0"
            },
            {
                "id": 871,
                "created_at": "2023-03-16 23:36:32",
                "updated_at": "2023-03-31 02:53:32",
                "country_code": "ES",
                "month": "2023-02",
                "agent_id": 2,
                "total_send": 0,
                "postcard": 0,
                "letter": 0,
                "phone_data": 0,
                "email_data": 0,
                "currency": "CNY",
                "total_pay": "0",
                "sys_pay": "0",
                "wechat_pay": "0",
                "ali_pay": "0"
            },
            {
                "id": 873,
                "created_at": "2023-03-16 23:36:32",
                "updated_at": "2023-03-31 02:53:32",
                "country_code": "JP",
                "month": "2023-02",
                "agent_id": 2,
                "total_send": 0,
                "postcard": 0,
                "letter": 0,
                "phone_data": 0,
                "email_data": 0,
                "currency": "CNY",
                "total_pay": "0",
                "sys_pay": "0",
                "wechat_pay": "0",
                "ali_pay": "0"
            },
            {
                "id": 877,
                "created_at": "2023-03-16 23:36:32",
                "updated_at": "2023-03-31 02:53:32",
                "country_code": "NONE",
                "month": "2023-02",
                "agent_id": 2,
                "total_send": 0,
                "postcard": 0,
                "letter": 0,
                "phone_data": 0,
                "email_data": 0,
                "currency": "CNY",
                "total_pay": "0",
                "sys_pay": "0",
                "wechat_pay": "0",
                "ali_pay": "0"
            },
            {
                "id": 881,
                "created_at": "2023-03-16 23:36:32",
                "updated_at": "2023-03-31 02:53:32",
                "country_code": "NONE",
                "month": "2023-02",
                "agent_id": 2,
                "total_send": 0,
                "postcard": 0,
                "letter": 0,
                "phone_data": 0,
                "email_data": 0,
                "currency": "USD",
                "total_pay": "0",
                "sys_pay": "0",
                "wechat_pay": "0",
                "ali_pay": "0"
            },
            {
                "id": 893,
                "created_at": "2023-03-16 23:36:32",
                "updated_at": "2023-03-31 02:53:32",
                "country_code": "NONE",
                "month": "2023-02",
                "agent_id": 2,
                "total_send": 0,
                "postcard": 0,
                "letter": 0,
                "phone_data": 0,
                "email_data": 0,
                "currency": "EUR",
                "total_pay": "0",
                "sys_pay": "0",
                "wechat_pay": "0",
                "ali_pay": "0"
            },
            {
                "id": 897,
                "created_at": "2023-03-16 23:36:32",
                "updated_at": "2023-03-31 02:53:32",
                "country_code": "NONE",
                "month": "2023-02",
                "agent_id": 2,
                "total_send": 0,
                "postcard": 0,
                "letter": 0,
                "phone_data": 0,
                "email_data": 0,
                "currency": "ERR",
                "total_pay": "0",
                "sys_pay": "0",
                "wechat_pay": "0",
                "ali_pay": "0"
            },
            {
                "id": 1539,
                "created_at": "2023-04-02 13:56:53",
                "updated_at": "2023-04-19 22:51:40",
                "country_code": "Total",
                "month": "2023-04",
                "agent_id": 2,
                "total_send": 100,
                "postcard": 100,
                "letter": 0,
                "phone_data": 0,
                "email_data": 0,
                "currency": "CNY",
                "total_pay": "0",
                "sys_pay": "0",
                "wechat_pay": "0",
                "ali_pay": "0"
            },
            {
                "id": 1542,
                "created_at": "2023-04-02 13:56:53",
                "updated_at": "2023-04-19 22:51:40",
                "country_code": "US",
                "month": "2023-04",
                "agent_id": 2,
                "total_send": 46,
                "postcard": 46,
                "letter": 0,
                "phone_data": 0,
                "email_data": 0,
                "currency": "CNY",
                "total_pay": "0",
                "sys_pay": "0",
                "wechat_pay": "0",
                "ali_pay": "0"
            },
            {
                "id": 1545,
                "created_at": "2023-04-02 13:56:53",
                "updated_at": "2023-04-19 22:51:40",
                "country_code": "CA",
                "month": "2023-04",
                "agent_id": 2,
                "total_send": 0,
                "postcard": 0,
                "letter": 0,
                "phone_data": 0,
                "email_data": 0,
                "currency": "CNY",
                "total_pay": "0",
                "sys_pay": "0",
                "wechat_pay": "0",
                "ali_pay": "0"
            },
            {
                "id": 1547,
                "created_at": "2023-04-02 13:56:53",
                "updated_at": "2023-04-19 22:51:40",
                "country_code": "GB",
                "month": "2023-04",
                "agent_id": 2,
                "total_send": 0,
                "postcard": 0,
                "letter": 0,
                "phone_data": 0,
                "email_data": 0,
                "currency": "CNY",
                "total_pay": "0",
                "sys_pay": "0",
                "wechat_pay": "0",
                "ali_pay": "0"
            },
            {
                "id": 1551,
                "created_at": "2023-04-02 13:56:53",
                "updated_at": "2023-04-19 22:51:40",
                "country_code": "DE",
                "month": "2023-04",
                "agent_id": 2,
                "total_send": 29,
                "postcard": 29,
                "letter": 0,
                "phone_data": 0,
                "email_data": 0,
                "currency": "CNY",
                "total_pay": "0",
                "sys_pay": "0",
                "wechat_pay": "0",
                "ali_pay": "0"
            },
            {
                "id": 1554,
                "created_at": "2023-04-02 13:56:53",
                "updated_at": "2023-04-19 22:51:40",
                "country_code": "IT",
                "month": "2023-04",
                "agent_id": 2,
                "total_send": 0,
                "postcard": 0,
                "letter": 0,
                "phone_data": 0,
                "email_data": 0,
                "currency": "CNY",
                "total_pay": "0",
                "sys_pay": "0",
                "wechat_pay": "0",
                "ali_pay": "0"
            },
            {
                "id": 1557,
                "created_at": "2023-04-02 13:56:53",
                "updated_at": "2023-04-19 22:51:40",
                "country_code": "FR",
                "month": "2023-04",
                "agent_id": 2,
                "total_send": 0,
                "postcard": 0,
                "letter": 0,
                "phone_data": 0,
                "email_data": 0,
                "currency": "CNY",
                "total_pay": "0",
                "sys_pay": "0",
                "wechat_pay": "0",
                "ali_pay": "0"
            },
            {
                "id": 1559,
                "created_at": "2023-04-02 13:56:53",
                "updated_at": "2023-04-19 22:51:40",
                "country_code": "ES",
                "month": "2023-04",
                "agent_id": 2,
                "total_send": 0,
                "postcard": 0,
                "letter": 0,
                "phone_data": 0,
                "email_data": 0,
                "currency": "CNY",
                "total_pay": "0",
                "sys_pay": "0",
                "wechat_pay": "0",
                "ali_pay": "0"
            },
            {
                "id": 1561,
                "created_at": "2023-04-02 13:56:53",
                "updated_at": "2023-04-19 22:51:40",
                "country_code": "JP",
                "month": "2023-04",
                "agent_id": 2,
                "total_send": 25,
                "postcard": 25,
                "letter": 0,
                "phone_data": 0,
                "email_data": 0,
                "currency": "CNY",
                "total_pay": "0",
                "sys_pay": "0",
                "wechat_pay": "0",
                "ali_pay": "0"
            },
            {
                "id": 1563,
                "created_at": "2023-04-02 13:56:53",
                "updated_at": "2023-04-19 22:51:40",
                "country_code": "NONE",
                "month": "2023-04",
                "agent_id": 2,
                "total_send": 0,
                "postcard": 0,
                "letter": 0,
                "phone_data": 0,
                "email_data": 0,
                "currency": "CNY",
                "total_pay": "200.02",
                "sys_pay": "200",
                "wechat_pay": "0.01",
                "ali_pay": "0.01"
            },
            {
                "id": 1565,
                "created_at": "2023-04-02 13:56:53",
                "updated_at": "2023-04-19 22:51:40",
                "country_code": "NONE",
                "month": "2023-04",
                "agent_id": 2,
                "total_send": 0,
                "postcard": 0,
                "letter": 0,
                "phone_data": 0,
                "email_data": 0,
                "currency": "USD",
                "total_pay": "199",
                "sys_pay": "199",
                "wechat_pay": "0",
                "ali_pay": "0"
            },
            {
                "id": 1567,
                "created_at": "2023-04-02 13:56:53",
                "updated_at": "2023-04-19 22:51:40",
                "country_code": "NONE",
                "month": "2023-04",
                "agent_id": 2,
                "total_send": 0,
                "postcard": 0,
                "letter": 0,
                "phone_data": 0,
                "email_data": 0,
                "currency": "EUR",
                "total_pay": "0",
                "sys_pay": "0",
                "wechat_pay": "0",
                "ali_pay": "0"
            },
            {
                "id": 1569,
                "created_at": "2023-04-02 13:56:53",
                "updated_at": "2023-04-19 22:51:40",
                "country_code": "NONE",
                "month": "2023-04",
                "agent_id": 2,
                "total_send": 0,
                "postcard": 0,
                "letter": 0,
                "phone_data": 0,
                "email_data": 0,
                "currency": "ERR",
                "total_pay": "0",
                "sys_pay": "0",
                "wechat_pay": "0",
                "ali_pay": "0"
            }
        ],
        "total": 0,
        "page": 0,
        "pageSize": 0
    },
    "msg": "success"
}
🟢200默认响应结构体
修改于 2023-07-31 08:23:42
上一页
明细订单统计
下一页
订单列表
Built with