Appearance
6.5 查询订单详情
接口说明:
Method | URL | ContentType |
---|---|---|
GET | /api/v1/order/info | application/json |
请求参数说明:
字段名 | 类型 | 是否必填 | 示例值 | 描述 |
---|---|---|---|---|
orderCode | String | 是 | "ORDER2025080400001" | 订单编号 |
返回参数说明:
请求数据示例:
/api/v1/order/info?orderCode=ORDER2025080400001
返回数据示例:
参数 | 类型说明 | 描述 |
---|---|---|
orderCode | string | 订单号 |
orderAmount | decimal | 订单金额 |
orderStatusStr | string | 订单状态描述 |
creationTime | string | 订单创建时间 |
pointAmount | string | 积分 |
remark | string | 订单备注 |
products | list | 商品列表 |
-- sku | string | 商品编码 |
-- skuName | string | 商品名称 |
-- quantity | int | 数量 |
-- price | decimal | 单价 |
-- totalPrice | decimal | 总价 |
json
{
"success": true,
"code": "000",
"message": "成功",
"data": {
"orderCode": "CG20241104101338001",
"orderAmount": 6.3,
"orderStatusStr": "待审核",
"creationTime": "2024-11-04 10:13:39",
"pointAmount": "441",
"remark": "",
"products": [
{
"sku": "WF1439844",
"skuName": "水之密语 净润臻养旅行套装 (洗发50ml+护发50ml+沐浴啫喱50ml)",
"quantity": 1,
"price": 6.3,
"totalPrice": 6.3
}
]
}
}