获取-订单详情(以及支付结果)
GET
/member/order/{id}
/member/order/{id}
小兔鲜电商/订单相关
请求参数
Path 参数
id
string
订单id
示例值:
1543591863523479553
Header 参数
Authorization
string
必需
示例值:
{{ERABBIT_ACCESS_TOKEN}}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET '/member/order/1543591863523479553' \
--header 'Authorization: {{ERABBIT_ACCESS_TOKEN}}'
返回响应
🟢200成功
application/json
Body
code
string
业务状态码
msg
string
响应消息
result
object
响应结果
id
string
订单id
createTime
string
订单创建时间
payType
integer
订单支付方式
orderState
integer
订单状态
payLatestTime
string
订单付款截止时间
countdown
integer
订单倒计时
postFee
integer
订单邮费
payMoney
integer
订单实付金额
payChannel
integer
订单支付渠道
payState
integer
订单状态
totalMoney
integer
订单金额合计
totalNum
integer
订单数量合计
deliveryTimeType
integer
订单配送类型
receiverContact
string
订单收货人
receiverMobile
string
订单收货人手机号
provinceCode
string
订单收货人-省份编码
cityCode
string
订单收货人-城市编码
countyCode
string
订单收货人-地区编码
receiverAddress
string
订单收货人-详细地址
payTime
null
订单支付时间
consignTime
null
订单发货时间
endTime
null
订单交易完成时间
closeTime
string
订单交易关闭时间
evaluationTime
null
订单完成评价时间
skus
array [object {10}]
订单商品sku的id集合
arrivalEstimatedTime
null
预计到货时间
示例
{
"code": "1",
"msg": "操作成功",
"result": {
"id": "1543591863523479553",
"createTime": "2022-07-03 21:45:53",
"payType": 1,
"orderState": 6,
"payLatestTime": "2022-07-03 22:15:54",
"countdown": -1,
"postFee": 6,
"payMoney": 1139,
"payChannel": 1,
"payState": 3,
"totalMoney": 1133,
"totalNum": 9,
"deliveryTimeType": 1,
"receiverContact": "张先生12",
"receiverMobile": "15236363232",
"provinceCode": "150000",
"cityCode": "150600",
"countyCode": "150625",
"receiverAddress": "内蒙古自治区鄂尔多斯市杭锦旗仙霞西路885弄",
"payTime": null,
"consignTime": null,
"endTime": null,
"closeTime": "2022-07-03 22:15:54",
"evaluationTime": null,
"skus": [
{
"id": "1543591863607365633",
"spuId": "3459033",
"name": "软弹/保暖两款可选,女式舒软轻弹健步鞋",
"quantity": 2,
"image": "https://yanxuan-item.nosdn.127.net/1f95d579952f425d840dc051dafb6156.jpg",
"realPay": 270,
"curPrice": 135,
"totalMoney": null,
"properties": [
{
"propertyMainName": "颜色",
"propertyValueName": "灰色镂空"
},
{
"propertyMainName": "尺码",
"propertyValueName": "38"
}
],
"attrsText": "颜色:灰色镂空 尺码:38 "
},
{
"id": "1543591863632531457",
"spuId": "3995844",
"name": "优质90%白鸭绒,儿童轻薄羽绒裤1-6岁",
"quantity": 5,
"image": "https://yanxuan-item.nosdn.127.net/f17d6260e7eb0cb805b796296f5f54b5.jpg",
"realPay": 645,
"curPrice": 129,
"totalMoney": null,
"properties": [
{
"propertyMainName": "颜色",
"propertyValueName": "黑色"
},
{
"propertyMainName": "尺码",
"propertyValueName": "80cm(建议12-18个月)"
}
],
"attrsText": "颜色:黑色 尺码:80cm(建议12-18个月) "
},
{
"id": "1543591863703834626",
"spuId": "3997974",
"name": "入门首选,语音播报电子血压计",
"quantity": 2,
"image": "https://yanxuan-item.nosdn.127.net/8f0c15f981c5cbcb1aa17215a259fa62.png",
"realPay": 218,
"curPrice": 109,
"totalMoney": null,
"properties": [
{
"propertyMainName": "规格",
"propertyValueName": "白色KD-5901"
}
],
"attrsText": "规格:白色KD-5901 "
}
],
"arrivalEstimatedTime": null
}
}
🟠400参数有误
🟠401身份认证失败_小兔仙
修改于 2023-03-09 04:15:56