Skip to content

订单列表 ​

历史版本 ​

请求路径 ​

  • 请求方式:POST
  • 请求头:Content-Type:application/json
  • 接口地址:https://gateway.nuoyunapi.com/Api/Order/getOrderList/2.0.0
  • 频率限制:10秒100次

请求参数 ​

参数必选类型描述
page是integer页码,从1开始
page_size是integer每页条数。最大300
room_id否integer直播间id
order_sn否string系统订单号
shipping_mobile否string收货人-手机号
shipping_name否string收货人-姓名
order_type否string订单类型;normal:普通订单 groupon:拼团订单 bargain:砍价订单 points:积分订单 reward:观看奖励 membership:会员卡订单
goods_type否string订单商品类型(goods:实体商品,virtual:虚拟商品)
order_status否integer订单状态。 1:待发货 2:待收货 3:申请退款 4:已退款 5:已完成 6:待付款 7:超时关闭 8:待成团 9:砍价中
create_time_start否integer下单时间-开始;10位时间戳
create_time_end否integer下单时间-截止;10位时间戳
update_time_start否integer更新时间-开始;10位时间戳
update_time_end否integer更新时间-截止;10位时间戳
default_sort否string排序规则;desc,asc

请求示例 ​

json
{
    "page": 1,
    "page_size": 10
}

响应参数 ​

参数必选类型描述
code是integer状态码:200-成功,400-失败
msg是string提示信息
data是object消息内容

data 参数结构 ​

参数必选类型描述
list是array订单列表
total是integer总数量

list 参数结构 ​

参数必选类型描述
order_id是integer订单id
room_id是integer直播间id
room_title是string直播间标题
order_sn是string系统订单号
payment_no是string支付渠道订单号
wechat_user_space_id是integer买家id
buyer_name是string买家名称
order_type是string订单类型。normal:普通订单 groupon:拼团订单 bargain:砍价订单 points:积分订单 reward:观看奖励 membership:会员卡订单
goods_type是string订单商品类型(goods:实体商品,virtual:虚拟商品)
order_status是integer订单状态。 1:待发货 2:待收货 3:申请退款 4:已退款 5:已完成 6:待付款 7:超时关闭 8:待成团 9:砍价中
is_settle是integer已结算。1:已结算 2:待结算
create_time是string下单时间
payment_time是string支付时间
complete_time是string完成时间
total_number是integer商品数量
total_price是number商品总价
postage是number邮费
coupon_discount_money是number优惠券优惠金额
order_money是number订单金额
payment_money是number实付金额
leftover_money是number尾款
refund_money是number退款金额
shipping_name是string收货人姓名
shipping_mobile是string收货人手机号
addr是string收获地址;json格式
remark是string备注
order_tips是string订单备注
goods_list是array商品列表
channel_invite_info是object门店邀请信息
direct_promote_name是string直接推广员信息
indirect_promote_name是string间接推广员信息
room_invite_info是object直播间邀请信息
delivery_method是number配送方式:1 快递 2 自提
pickup_addr是string自提地址;json格式
third_wechat_info是object第三方微信信息
order_verify_no是string订单核销码

goods_list 参数结构 ​

参数必选类型描述
id是integer子订单id
goods_no是string商品编号
goods_id是integer商品id
goods_sku_id是integersku_id
goods_name是string商品名称
goods_type是string商品类型(goods:实体商品,virtual:虚拟商品)
goods_attribute是string商品选择属性;json格式
goods_cnt是integer商品数量
goods_price是number商品单价
payment_money是number实付金额
refund_money是number退款金额
refund_cnt是integer退款数量
buyer_tips是string买家留言
verify_status是integer0:不可核销 1:未核销 2部分核销 3 已核销
verify_code_list是array核销码列表(虚拟商品有值,非虚拟商品为空数组)

verify_code_list 参数结构 ​

参数必选类型描述
verify_no是string核销码
is_verify是integer核销状态:1-已核销,2-未核销,3-已失效
verify_time否string核销时间,格式:yyyy-mm-dd hh:ii:ss

channel_invite_info 参数结构 ​

参数必选类型描述
channel_sale_name是string销售员名称
channel_sale_wechat_user_space_id是integer销售员用户id
channel_name是string门店名称
channel_id是integer门店id
channel_director_name是string负责人名称
channel_director_wechat_user_space_id是integer负责人用户id
channel_invite_name是string邀请人名称
channel_invite_wechat_user_space_id是integer邀请人用户id

room_invite_info 参数结构 ​

参数必选类型描述
invited_wechat_user_space_id是integer邀请人id
invited_name是string邀请人昵称

third_wechat_info 参数结构 ​

参数必选类型描述
third_unionid是stringunionid

响应示例 ​

json
{
    "code": 200,
    "msg": "Success",
    "data": {
        "total": 11,
        "list": [
            {
                "order_id": 24071,
                "room_id": 67091,
                "room_title": "直播间标题",
                "order_sn": "24102117014151128582",
                "payment_no": "42000021410218069021988",
                "wechat_user_space_id": 20111,
                "buyer_name": "徐九",
                "order_type": "normal",
                "goods_type": "virtual",
                "order_status": 4,
                "is_settle": 2,
                "create_time": "2023-1-21 17:27:38",
                "payment_time": "2023-1-21 17:27:43",
                "complete_time": "0",
                "total_number": 2,
                "total_price": 2,
                "postage": 0.00,
                "coupon_discount_money": 0.00,
                "order_money": 2,
                "payment_money": 2,
                "leftover_money": 0.00,
                "refund_money": 0.02,
                "shipping_name": "徐豪",
                "shipping_mobile": "15114516754",
                "addr": "{\"id\":8215,\"unionid\":\"o8-ysv5D3Hy41u8Ey0\",\"mobile\":\"15114516754\",\"shipping_user\":\"徐豪\",\"country_code\":86,\"is_modify\":false,\"for_goods\":2,\"address_id\":8215}",
                "remark": "",
                "order_tips": "",
                "goods_list": [
                    {
                        "id": 24071,
                        "goods_no": "G001",
                        "goods_id": 172984,
                        "goods_sku_id": 0,
                        "goods_name": "冰淇淋",
                        "goods_type": "virtual",
                        "goods_attribute": "",
                        "goods_cnt": 1,
                        "goods_price": 0.01,
                        "payment_money": 0.01,
                        "refund_money": 0.01,
                        "refund_cnt": 1,
                        "buyer_tips": "",
                        "verify_status": 3,
                        "verify_code_list": [
                            {"verify_no": "VC20240101001", "is_verify": 2, "verify_time": ""},
                            {"verify_no": "VC20240101002", "is_verify": 1, "verify_time": ""}
                        ]
                    }
                ],
                "channel_invite_info": {
                    "channel_sale_name": "张三",
                    "channel_sale_wechat_user_space_id": 12345,
                    "channel_name": "诺云门店",
                    "channel_id": 1001,
                    "channel_director_name": "李四",
                    "channel_director_wechat_user_space_id": 12346,
                    "channel_invite_name": "王五",
                    "channel_invite_wechat_user_space_id": 12347
                },
                "direct_promote_name": "",
                "indirect_promote_name": "",
                "room_invite_info": {
                    "invited_wechat_user_space_id": 20112,
                    "invited_name": "xsas"
                },
                "third_wechat_info": {
                    "third_unionid": "xxxxxxxx"
                },
                "order_verify_no": "VC0024010100"
            }
        ]
    }
}