Skip to content

1. 代理近期销售

接口地址: /merchantapi/order/risk/childOrderList

请求方式: POST

请求参数:

参数名类型必填说明
shop_namestring店铺名称
user_idint用户 ID
pageint页码
limitint每页数量

响应示例:

json
{
  "code": 1,
  "msg": "获取成功",
  "data": {
    "list": [
      {
        "id": 10,
        "user_id": 1001, // 用户ID
        "buyer_user_id": 1002, // 买家用户ID
        "goods_id": 2, // 商品ID
        "trade_no": "Q251122b91424", // 订单号
        "goods_name": "1000的商品1", // 商品名称
        "quantity": 1, // 商品数量
        "goods_price": "20.000", // 商品价格
        "goods_cost_price": "18.000", // 商品成本价
        "total_price": "21.000", // 总价格
        "total_cost_price": "18.000", // 总成本价
        "fee": "1.000", // 手续费
        "total_product_price": "20.000", // 总商品价格
        "finally_money": "2.0000", // 最终卖出收益
        "sendout": 1, // 是否发货
        "status": 1, // 订单状态: 0=未支付 1=已支付 2=已取消 3=已退款
        "is_freeze": 0, // 是否冻结
        "create_at": "2025-11-22 16:27:09", // 创建时间
        "success_at": "2025-11-22 16:27:11", // 成功时间
        "create_ip": "185.206.249.117", // 创建IP
        "is_proxy": 1, // 是否代理: 0=否 1=是
        "parent_user_id": 1000, // 父级用户ID
        "source_user_id": 1000, // 源用户ID
        "parent_goods_id": 1, // 父级商品ID
        "source_goods_id": 1, // 源商品ID
        "source": 2, // 来源: 1对接码订单 2=货源大厅订单
        "seller_username": "test1001", // 卖家用户名(代理商)
        "seller_shop_name": "1001店铺", // 卖家店铺名
        "sourceGoods": {
          // 源商品信息
        },
        "my_goods_name": "1000的商品1", // 我的商品名称
        "buyer_username": "test1002", // 买家用户名
        "proxy_type": "其他", // 代理类型
        "profit": "18.000" // 我的利润
      }
    ],
    "total": 10
  }
}