查询订单
开发中GET
/orders/{order_id}SDK API 调用方式
PartnerClient client = new PartnerClient(accessKey,privateKey)
client.v2().order().queryOrder(new QueryOrder(3, "OL-6XB9RBI0TS2"));
请求参数
Path 参数
order_id
string
订单ID
示例值:
OL-6XB9J1KCTI4
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
No schema defined
示例
{
"data": {
"type": 1,
"status": 3,
"items": [
{
"quantity": 10,
"price": 200,
"id": "CP-6HPXSE6LLEGP"
}
],
"accounting": {
"currency": "CNY",
"discount": 3,
"coupon_id": "10090678256",
"pay_channel": 1,
"total_amount": 2000
},
"contact": {
"name": "李佳威",
"email": "22456789045@qq.com",
"tel_area": "86",
"tel_code": "13567987906",
"mobile_area": "0375",
"mobilde_no": "5969789"
},
"extra": {
"po": "此订单仅支持测试使用-uat@everybody!",
"remarks": "订单可用"
},
"callback": "http://localhost/mno-gateway/internal/callback",
"id": "OL-6XB9J1KCTI43",
"order_by": null,
"delivery_info": null,
"delivery_address": {
"country": "中国",
"province": "上海",
"city": "上海",
"district": "闵行区",
"town": "人民路21号中华老字号",
"zip": "463000",
"detail": "亚洲中国上海市闵行区人民路21号中华老字号光明街路易大道北走500米",
"special_instructions": "发顺丰快递"
},
"created_at": "2023-06-15T02:41:27.000+00:00"
},
"status": {
"code": "CB-00-0000",
"message": "成功",
"detail": "https://developer.linksfield.net/doc-1413557?nav=01GBM770ARR76AXBD5856Z6J6P"
}
}
最后修改时间: 1 年前