查询主单详情。
调试
您可以在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": "//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": "//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 内部配置变更,不影响调用 | 查看变更详情 |