查询订单列表
POST
/external/order/list/get
请求参数
Header 参数
appId
string
应用 appId
默认值:
{{appId}}
timestamp
string
请求时间戳
默认值:
{{timestamp}}
sign
string
请求消息签名值
默认值:
{{sign}}
appKey
string
应用 appKey
默认值:
{{appKey}}
Body 参数application/json
pageNo
integer
页号
pageSize
integer
数量
channelId
string
平台id
startDate
string
下单开始时间
endDate
string
下单结束时间
keyWord
string
订单编号或者客户姓名
status
number
订单状态
示例
{
"pageNo": 1,
"pageSize": 15,
"channelId": "12306",
"startDate": "2021-11-14 00:00:00",
"endDate": "2021-12-13 23:59:59"
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST '/external/order/list/get' \
--header 'appId;' \
--header 'timestamp;' \
--header 'sign;' \
--header 'appKey: {{appKey}}' \
--header 'Content-Type: application/json' \
--data-raw '{
"pageNo": 1,
"pageSize": 15,
"channelId": "12306",
"startDate":"2021-11-14 00:00:00",
"endDate":"2021-12-13 23:59:59"
}'
返回响应
🟢200成功
application/json
Body
code
integer
状态码
message
string
响应结果
data
object
必需
currentPage
integer
页号
pageSize
integer
数量
totalPage
integer
总页数
totalCount
integer
总数量
list
array [object {14}]
示例:-
示例
{
"code": 0,
"message": "success",
"data": {
"currentPage": 1,
"pageSize": 15,
"totalPage": 8,
"totalCount": 115,
"list": [
{
"id": "85fd72f95c0e11eca61600163e106b20",
"corpid": "xxx",
"salesId": 444256224170048,
"customerId": 444926101606464,
"channelId": "12306",
"channelName": "12306",
"shopId": "TEST",
"shopName": "测试店铺",
"orderId": "TEST_12345678",
"orderPrice": 0.01,
"status": 2,
"orderTime": "2021-12-10 15:53:29",
"customDefine": [
{
"key": "1191",
"value": "xxx"
},
{
"key": "1190",
"value": "1"
}
],
"goodsList": [
{
"goodName": "测试商品",
"imageUrl": "https://xxx",
"goodPrice": 0.01,
"num": 1
}
]
}
]
}
}
修改于 2023-04-12 02:42:21