小红书订单列表order.getOrderList返回值说明

该API用于获取订单列表,包括必填参数如startTime、endTime、timeType,以及订单类型、状态和页码等选项。请求示例和返回示例展示了参数的用法和返回的数据结构,包括订单总数、订单信息等。
摘要由CSDN通过智能技术生成

order.getOrderList 订单列表

公共请求参数

参数类型是否必填参数描述

method

string

必填

API接口名称

appId

string

必填

创建应用的appId

sign

string

必填

API输入参数签名结果,签名算法参考开发者文档,演示Demo地址

timestamp

string

必填

UNIX时间戳,单位秒

version

string

必填

API协议版本号,目前使用2.0

accessToken

string

非必填

通过code获取的accessToken(无需授权的接口不需要此参数,该字段不参与sign签名运算)

 请求参数说明

参数类型是否必填参数描述

startTime

integer

必填

时间范围起点

endTime

integer

必填

时间范围终点

timeType

integer

必填

startTime/endTime对应的时间类型,1 创建时间 限制 end-start<=24h、2 更新时间 限制 end-start<=30min 倒序拉取 最后一页到第一页

orderType

integer

非必填

订单类型,0/null 全部 1 普通 normal 2 定金预售 3 全款预售(废弃) 4 全款预售(新) 5 换货补发

orderStatus

integer

非必填

订单状态,0全部 1已下单待付款 2已支付处理中 3清关中 4待发货 5部分发货 6待收货 7已完成 8已关闭 9已取消 10换货申请中

pageNo

integer

非必填

页码,默认1,限制100

pageSize

integer

非必填

查询总数,默认50,限制100

请求示例

{
    "startTime": 1612518379,
    "endTime": 1612518379,
    "timeType": 1,
    "orderType": 1,
    "orderStatus": 1,
    "pageNo": 1,
    "pageSize": 50
}

 返回参数说明

参数类型参数描述

total

integer

订单总数

pageNo

integer

当前页数 请求参数中的值

pageSize

integer

页大小 请求参数中的值

maxPageNo

integer

最大页码数 方便 直接从最后一页拉数据

orderList

array

订单信息

返回示例

{
    "total": 500,
    "pageNo": 1,
    "pageSize": 50,
    "maxPageNo": 100,
    "orderList": [
        {
            "orderId": "P141***1412",
            "orderType": 1,
            "orderStatus": 1,
            "orderAfterSalesStatus": 1,
            "cancelStatus": 1,
            "createdTime": 1612518379000,
            "paidTime": 1612518379000,
            "updateTime": 1612518379000,
            "deliveryTime": 1612518379000,
            "cancelTime": 1612518379000,
            "finishTime": 1612518379000,
            "promiseLastDeliveryTime": 1612518379000,
            "planInfoId": "null",
            "planInfoName": "null",
            "receiverCountryId": "null",
            "receiverCountryName": "中国",
            "receiverProvinceId": "null",
            "receiverProvinceName": "江苏省",
            "receiverCityId": "null",
            "receiverCityName": "苏州市",
            "receiverDistrictId": "null",
            "receiverDistrictName": "相城区",
            "customerRemark": "null",
            "sellerRemark": "null",
            "sellerRemarkFlag": 1,
            "originalOrderId": "P123***4123",
            "logistics": "red_express"
        }
    ]

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值