QueryOrders - 查询订单列表

查询订单列表。

接口说明

查询订单列表

调试

您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。

授权信息

当前API暂无授权信息透出。

请求语法

POST /opensaas-s2b/opensaas-s2b-biz-trade/v1/orders/commands/query HTTP/1.1

请求参数

名称类型必填描述示例值
bodyOrderPageQuery

查询主单列表

{
  "pageNumber": 1,
  "pageSize": 10,
  "orderIdList": [
    "6696070566****8593"
  ]
}

返回参数

名称类型描述示例值
OrderListResult

订单列表

{
  "requestId": "15BC537F-26F7-1AD0-AC3C-B79****D540",
  "total": 10,
  "orderList": [
    {
      "requestId": null,
      "createDate": "2023-09-09 10:57:23",
      "distributorId": "12****01",
      "logisticsStatus": "2",
      "orderId": "6696070566****8593",
      "orderAmount": "1",
      "orderStatus": "2",
      "orderLineList": [
        {
          "productPic": "//img.alicdn.com/imgextra/i4/2216****05543/O1CN01bip3Un1qo****YLWA_!!2216003****43.jpg",
          "productPrice": [
            {
              "fundAmountMoney": "1"
            }
          ],
          "productTitle": "儿童学习桌",
          "productId": "6600622091****6736",
          "number": "1",
          "orderLineStatus": "2",
          "logisticsStatus": "2",
          "skuId": "6600622091****6737",
          "skuTitle": "浅灰色",
          "orderLineId": "6696070566****8594",
          "orderId": "6696070566****8593"
        }
      ]
    }
  ]
}

示例

正常返回示例

JSON格式

{
  "orderList": [
    {
      "orderAmount": 100,
      "orderLineList": [
        {
          "productTitle": "儿童学习桌",
          "number": "1",
          "skuTitle": "浅绿色",
          "productId": "6600****6736",
          "orderId": "6692****5457",
          "productPic": "//img.alicdn.com/imgextra/i4/2216003305543/O1CN01bip3Un1qokG0",
          "orderLineId": "6692****5458",
          "logisticsStatus": "1",
          "payFee": 100,
          "skuId": "6600****6737",
          "orderLineStatus": "1"
        }
      ],
      "orderId": "6692****5457",
      "distributorId": "12****01",
      "orderStatus": "1",
      "logisticsStatus": "1",
      "createDate": "2023-09-11T12:22:24.000+08:00",
      "requestId": "841471F6-5D61-1331-8C38-2****B55",
      "orderClosedReason": "系统关单"
    }
  ],
  "requestId": "841471F6-5D61-1331-8C38-2****B55",
  "total": 24
}

错误码

访问错误中心查看更多错误码。

变更历史

变更时间变更内容概要操作
2023-09-18API 内部配置变更,不影响调用查看变更详情