查詢主單詳情。
調試
您可以在OpenAPI Explorer中直接運行該接口,免去您計算簽名的困擾。運行成功后,OpenAPI Explorer可以自動生成SDK代碼示例。
授權信息
當前API暫無授權信息透出。
請求語法
GET /opensaas-s2b/opensaas-s2b-biz-trade/v1/orders/{orderId} HTTP/1.1
請求參數
名稱 | 類型 | 必填 | 描述 | 示例值 |
---|---|---|---|---|
orderId | string | 是 | 訂單 id | 669607056****8593 |
返回參數
{
"createDate": "2023-09-09 10:57:23",
"distributorId": "6599775553****9296",
"logisticsStatus": "1",
"orderId": "6696070566****8593",
"orderAmount": "1",
"orderStatus": "2",
"orderLineList": [
{
"productPic": "http://img.alicdn.com/imgextra/i4/2216003305543/O1CN01bip3Un1qokG0DYLWA_!!2216003305543.jpg",
"productPrice": [
{
"fundAmountMoney": "1" //訂單應付金額
}
],
"productTitle": "兒童學習桌",
"productId": "6600622091****6736",
"number": "1",
"orderLineStatus": "2",
"logisticsStatus": "1",
"skuId": "6600622091****6737",
"skuTitle": "淺灰色",
"orderLineId": "6696070566****8594",
"orderId": "6696070566****8593"
}
]
}
示例
正常返回示例
JSON
格式
{
"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": "系統關單"
}
錯誤碼
訪問錯誤中心查看更多錯誤碼。
變更歷史
變更時間 | 變更內容概要 | 操作 |
---|---|---|
2023-09-18 | API 內部配置變更,不影響調用 | 查看變更詳情 |