获取订单信息
开发中
GET
https://api.chasing.com/order/index
请求参数
Query 参数
order_id
string
订单ID
示例值:
471492981698859008
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.chasing.com/order/index?order_id=471492981698859008'
返回响应
🟢200成功
application/json
Body
code
integer
必需
msg
string
必需
data
object
必需
currency
string
货币名称
id
订单id
amount
string
合计
create_time
string
必需
uid
integer
必需
postage
integer
是否包邮
tax
integer
是否含税
discount
string
折扣金额
unit
string
货币符号
goods_data
array [object {6}]
商品信息
示例
{
"code": 200,
"msg": "success",
"data": {
"currency": "usd",
"id": 278434334564683780,
"amount": "100000.00",
"create_time": "2022-09-25 17:04:15",
"uid": 10352,
"postage": 0,
"tax": 0,
"discount": "0.00",
"unit": "¥",
"goods_data": [
{
"goods_title": "CHASING M2 PRO MAX",
"goods_suit_title": "200m Package",
"goods_id": 57,
"number": 1,
"cost": "100000.00",
"image": "http://test.static.chasing.com/Frr4h5hFAe9GfIZGVuXZrrTiAX2z"
}
]
}
}
修改于 2024-11-18 08:46:25