订单查询
POST
/api/order/query
最后修改时间:2024-06-13 07:27:14
请求参数
Body 参数application/json
appid
string
app id
version
string
接口版本号
reqTime
integer
时间戳
sign
string
签名值
biz_order_id
string
商家订单号
示例
{
"bizid": "1",
"appid": "10000",
"version": "1.0",
"reqTime": "{{microtime}}",
"biz_order_id": "{{biz_order_id}}",
"sign": "{{sign}}"
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST '/api/order/query' \
--header 'Content-Type: application/json' \
--data-raw '{
"bizid": "1",
"appid": "10000",
"version": "1.0",
"reqTime": "{{microtime}}",
"biz_order_id": "{{biz_order_id}}",
"sign": "{{sign}}"
}'
返回响应
🟢200成功
application/json
Body
code
integer
响应码
msg
string
提示信息
data
object (订单详情)
数据
order_id
string
平台订单号
biz_order_id
string
商家订单号
sku_id
integer
SKU ID
status
integer
订单状态
count
integer
商品数量
amount
number
订单扣费
last_time
string
到账时间
created_at
string
商家下单时间
cards
string
卡密数据
示例
{
"code": 0,
"msg": "string",
"data": {
"order_id": "string",
"biz_order_id": "string",
"sku_id": 0,
"status": 0,
"count": 0,
"amount": 0,
"last_time": "string",
"created_at": "string",
"cards": "string"
}
}
修改于 2024-06-13 07:27:14