查詢訂單列表。
接口說明
查詢訂單列表
調試
您可以在OpenAPI Explorer中直接運行該接口,免去您計算簽名的困擾。運行成功后,OpenAPI Explorer可以自動生成SDK代碼示例。
授權信息
當前API暫無授權信息透出。
請求語法
POST /opensaas-s2b/opensaas-s2b-biz-trade/v1/orders/commands/query HTTP/1.1
請求參數
名稱 | 類型 | 必填 | 描述 | 示例值 |
---|---|---|---|---|
body | OrderPageQuery | 是 | 查詢主單列表 |
{
"pageNumber": 1,
"pageSize": 10,
"orderIdList": [
"6696070566****8593"
]
}
返回參數
{
"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": "http://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": "http://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-18 | API 內部配置變更,不影響調用 | 查看變更詳情 |