获取订单详情
请求URL:https://www.0xiao.com/keloop/api/getOrderInfo
请求方式:
- POST
请求参数:
参数名 | 必选 | 类型 | 说明 | 示例值 |
---|---|---|---|---|
developerCode |
是 | string |
开发者CODE | U2QHNB2w= |
shopCode |
是 | string |
关联店CODE | U2TD844B2 |
orderNumber |
是 | string |
订单号 | 24092618111118011 |
timestamp |
是 | int |
时间戳 | 1727658018 |
type |
是 | int |
开发者类型 | 128 |
sign |
是 | string |
密钥签名,生成规则请参考 | 2f1c4fbda84d518b6676e36b6bcaad4e |
响应示例:
请求参数示例
{
"code": 100,
"message": "获取成功",
"data": {
"num": "1",
"tel": "17755555555",
"name": "南瓜",
"amount": 21,
"gender": "",
"address": "四川省成都市金牛区三泰魔方B3-20611",
"discount": 0,
"pack_fee": 0,
"pay_time": "2024-04-07 16:09:48",
"shop_tel": "19811111111",
"trade_no": "210407160929100001",
"deduction": 0,
"extra_fee": 0,
"send_cont": "四川省-成都市-金牛区-苏州农业职业技术学院(2024-04-07 16:50:49)",
"create_time": "2024-04-07 16:09:29",
"actual_price": 21,
"daily_number": "2",
"order_goods": [
{
"num": 1,
"desc": "44444",
"name": "鸡蛋瘦肉肠+皮蛋瘦肉粥",
"price": 15.8,
"old_price": 15.8
}
]
},
"request_id": "fc488a486352ecee4f99a580b3a83380"
}
返回结果失败示例
{
"code": 104,
"message": "请求超时",
"data": [],
"request_id": "908a45ac5838ca3e7724bec42b0e9bbf"
}
最后修改时间: 2 个月前