公域小红书订单列表
拥有此API的权限集 |
---|
公域管理-查询 |
请求方式及url
- 请求方式:
POST
- 请求头:
Content-Type:application/json
- 接口地址:
https://api.xiaoe-tech.com/xe.common-domain.xhs.order.list/1.0.0
- 频率限制:
10秒600次
在线调试工具
请求
响应
请求参数
参数名 | 必选 | 类型 | 说明 |
---|---|---|---|
access_token | 是 | string | 专属token |
shop_id | 否 | string | 小红书店铺ID |
order_id | 否 | string | 小鹅通订单号 |
product_name | 否 | string | 课程名称 |
order_status | 否 | []int | 订单状态 1-待付款 2-已支付 3-已发货 4-已取消 5-已完成(已收货)6-售后中 |
channel_order_id | 否 | string | 小红书订单号 |
created_start_at | 否 | string | 创建开始时间 |
created_end_at | 否 | string | 创建结束时间 |
super_id | 否 | string | 达人ID |
super_name | 否 | string | 达人昵称 |
page | 是 | int | 页码 |
page_size | 是 | int | 每页条数,最大100 |
complex_add_customer_status | 否 | []int | 加微状态 1.未设置 2.加微成功 3.加微短信发送成功未加微 4.加微短信发送失败 5.加微短信发送中待回执 |
complex_claim_status | 否 | []int | 领课状态 1.领课成功 2.领课短信发送成功未点击 3.链接点击未领课 4.短信发送失败 5.短信发送中待回执 |
请求示例
{
"access_token":"xe_xxxxx",
"page": 1,
"page_size": 10,
"order_status": [
1,
2,
3,
4,
5,
6,
7
],
"product_name": "",
"goods_name": "",
"channel_order_id": "",
"xiaoe_order_id": "",
"shop_id": "66cdc92d7b526000163a53b1",
"super_id": "",
"complex_claim_status": [
1,
2,
3,
4,
5
],
"complex_add_customer_status": [
1,
2,
3,
4,
5
],
"created_start_at": "2024-05-01",
"created_end_at": "2025-04-02"
}
返回参数
参数名 | 必选 | 类型 | 说明 | 备注 |
---|---|---|---|---|
code | 是 | int | 返回码 | 0-成功,其他失败 |
msg | 是 | string | 返回信息 | ok |
data | 是 | json对象 | 返回值 | ... |
data.total | 是 | int | 总数 | 70 |
data.order_list | 是 | array | 订单列表 | [...] |
data.order_list[].shop_id | 是 | string | 店铺ID | 66cdc92d7b526000163a53b1 |
data.order_list[].order_id | 是 | string | 订单ID | tp_order_67e670eab0f2b_RS30qkXS2182 |
data.order_list[].xiaoe_order_id | 否 | string | 小鹅订单ID | "" |
data.order_list[].channel_order_id | 是 | string | 渠道订单ID | P758707419707206451 |
data.order_list[].channel_type | 是 | int | 渠道类型 | 2 |
data.order_list[].channel_user_name | 是 | string | 渠道用户名 | 石杨 |
data.order_list[].order_amount | 是 | int | 订单金额-单位:分 | 500 |
data.order_list[].user_id | 否 | string | 用户ID | "" |
data.order_list[].order_status | 是 | int | 订单状态 1-待付款 2-已支付 3-已发货 4-已取消 5-已完成(已收货)6-售后中 | 4 |
data.order_list[].claim_status | 是 | int | 领取状态 1-未领取 2-已领取 | 1 |
data.order_list[].sms_status | 是 | int | 短信状态 1-未点击 2-已点击 3-发送失败 | 3 |
data.order_list[].click_status | 是 | int | 点击状态 1-未点击 2-已点击 | 1 |
data.order_list[].after_sale_url | 是 | string | 售后链接 | https://ark.xiaohongshu.com/... |
data.order_list[].create_time | 是 | string | 创建时间 | 2025-03-28 17:50:34 |
data.order_list[].resource_id | 是 | string | 资源ID | course_2rIRGsw94sztIlfTvCxdi6uU7nU |
data.order_list[].resource_title | 是 | string | 资源标题 | 45445455 |
data.order_list[].resource_type | 是 | int | 资源类型 | 50 |
data.order_list[].goods_name | 是 | string | 小红书商品名称 | 男装Polo衫,加大码,秋冬季 |
data.order_list[].goods_img | 是 | string | 小红书商品图片URL | http://qimg.xiaohongshu.com/... |
data.order_list[].claim_time | 否 | string | 领取时间 | -- |
data.order_list[].purchase_type | 是 | int | 购课链路 1-仅领课 2-先领课后加微 3-先加微后领课 | 3 |
data.order_list[].is_add_customer | 是 | int | 是否加微 1-添加 0未添加 | 0 |
data.order_list[].add_customer_id | 否 | string | 加微客户ID | "" |
data.order_list[].add_customer_name | 否 | string | 加微客户名称-废弃 | "" |
data.order_list[].order_status_txt | 是 | string | 订单状态文本 | 已取消 |
data.order_list[].complex_claim_status | 是 | int | 领课状态 | 2 |
data.order_list[].complex_claim_status_txt | 是 | string | 领课状态文本 | 链接未点击 |
data.order_list[].complex_add_customer | 是 | int | 加微状态 | 3 |
data.order_list[].complex_add_customer_txt | 是 | string | 加微状态文本 | 短信发送成功未加微 |
data.order_list[].refund_status | 是 | int | 售后状态 0-无售后 1-待处理 2-售后中 3-售后关闭 4-售后成功 | 0 |
data.order_list[].tmp_add_customer_status | 是 | int | 临时加微状态 1-未设置 2-加微成功 3-加微短信发送成功未加微 4-加微短信发送失败 5.加微短信发送中待回执 | 3 |
data.order_list[].add_customer_sms_status | 是 | int | 加微短信状态 1-待发送 2-已发送 3-发送成功 4-发送失败 | 1 |
data.order_list[].customer_sms_switch | 是 | int | 当前订单加微短信开关 1-开启 0-未开启 | 1 |
data.order_list[].super_id | 是 | string | 达人ID | -- |
data.order_list[].super_name | 是 | string | 达人昵称 | -- |
data.order_list[].shop_info | 是 | json对象 | 店铺信息 | ... |
data.order_list[].shop_info.app_id | 是 | string | 应用ID | app_xxxxxx |
data.order_list[].shop_info.seller_id | 是 | string | 卖家ID | 66cdc92d7b526000163a53b1 |
data.order_list[].shop_info.sell_name | 是 | string | 卖家名称 | 凌小翔的店 |
data.order_list[].shop_info.auth_state | 是 | int | 认证状态 | 1 |
备注
code=0
时,msg
:code!=0
时,msg
:获取订单列表失败
返回示例
{
"code": 0,
"msg": "ok",
"data": {
"order_list": [
{
"shop_id": "66cdc92d7b526000163a53b1",
"order_id": "tp_order_67e670eab0f2b_RS30qkXS2182",
"xiaoe_order_id": "",
"channel_order_id": "P758707419707206451",
"channel_type": 2,
"channel_user_name": "石杨",
"order_amount": 500,
"user_id": "",
"order_status": 4,
"claim_status": 1,
"sms_status": 3,
"click_status": 1,
"after_sale_url": "https://ark.xiaohongshu.com/app-order/order/detail/P758707419707206451",
"create_time": "2025-03-28 17:50:34",
"resource_id": "course_2rIRGsw94sztIlfTvCxdi6uU7nU",
"resource_title": "45445455",
"resource_type": 50,
"goods_name": "男装Polo衫,加大码,秋冬季",
"goods_img": "http://qimg.xiaohongshu.com/arkgoods/1040g0o0318npngt50s00495vll6f8u3jcrsh7jo",
"claim_time": "--",
"purchase_type": 3,
"is_add_customer": 0,
"add_customer_id": "",
"add_customer_name": "",
"order_status_txt": "已取消",
"complex_claim_status": 2,
"complex_claim_status_txt": "链接未点击",
"complex_add_customer": 3,
"complex_add_customer_txt": "短信发送成功未加微",
"refund_status": 0,
"tmp_add_customer_status": 3,
"add_customer_sms_status": 1,
"customer_sms_switch": 1,
"super_id": "--",
"super_name": "--",
"shop_info": {
"app_id": "app_xxxxxx",
"seller_id": "66cdc92d7b526000163a53b1",
"sell_name": "凌小翔的店",
"auth_state": 1
}
},
{
"shop_id": "66cdc92d7b526000163a53b1",
"order_id": "tp_order_67e670cada35a_wzUU5u9e9754",
"xiaoe_order_id": "",
"channel_order_id": "P758707389106206211",
"channel_type": 2,
"channel_user_name": "石杨",
"order_amount": 60,
"user_id": "",
"order_status": 4,
"claim_status": 1,
"sms_status": 3,
"click_status": 1,
"after_sale_url": "https://ark.xiaohongshu.com/app-order/order/detail/P758707389106206211",
"create_time": "2025-03-28 17:50:03",
"resource_id": "c_666bfca466ce7_GYdiAnsU1439",
"resource_title": "三级目录",
"resource_type": 7,
"goods_name": "【精选手办】巴黎圣母院 3*3",
"goods_img": "http://qimg.xiaohongshu.com/arkgoods/1040g0o03185lp3k60m00495vll6f8u3jr7629b8",
"claim_time": "--",
"purchase_type": 3,
"is_add_customer": 0,
"add_customer_id": "",
"add_customer_name": "",
"order_status_txt": "已取消",
"complex_claim_status": 2,
"complex_claim_status_txt": "链接未点击",
"complex_add_customer": 3,
"complex_add_customer_txt": "短信发送成功未加微",
"refund_status": 0,
"tmp_add_customer_status": 3,
"add_customer_sms_status": 1,
"customer_sms_switch": 1,
"super_id": "--",
"super_name": "--",
"shop_info": {
"app_id": "app_xxxxxx",
"seller_id": "66cdc92d7b526000163a53b1",
"sell_name": "凌小翔的店",
"auth_state": 1
}
},
{
"shop_id": "66cdc92d7b526000163a53b1",
"order_id": "tp_order_67dbd13b0fa3e_BmLrZJCW5707",
"xiaoe_order_id": "",
"channel_order_id": "P758011172879340511",
"channel_type": 2,
"channel_user_name": "海迪",
"order_amount": 990,
"user_id": "",
"order_status": 4,
"claim_status": 1,
"sms_status": 3,
"click_status": 1,
"after_sale_url": "https://ark.xiaohongshu.com/app-order/order/detail/P758011172879340511",
"create_time": "2025-03-20 16:26:36",
"resource_id": "course_2r6w1hg36qScF3FomDiUHZatc1v",
"resource_title": "测试",
"resource_type": 50,
"goods_name": "摄影的力量(初级课程)",
"goods_img": "http://qimg.xiaohongshu.com/arkgoods/1040g0o0319b8tc6g5o00495vll6f8u3jg4lhtu8",
"claim_time": "--",
"purchase_type": 3,
"is_add_customer": 0,
"add_customer_id": "",
"add_customer_name": "",
"order_status_txt": "已取消",
"complex_claim_status": 2,
"complex_claim_status_txt": "链接未点击",
"complex_add_customer": 3,
"complex_add_customer_txt": "短信发送成功未加微",
"refund_status": 0,
"tmp_add_customer_status": 3,
"add_customer_sms_status": 1,
"customer_sms_switch": 1,
"super_id": "--",
"super_name": "--",
"shop_info": {
"app_id": "app_xxxxxx",
"seller_id": "66cdc92d7b526000163a53b1",
"sell_name": "凌小翔的店",
"auth_state": 1
}
}
],
"total": 70
}
}