- 开发前必读
- 开始开发
- 查询类接口文档
- 通用API
- 用户管理API
- 店铺管理API
- 连锁门店API
- 商户管理API
- 商品管理API
- 会员管理API
- 订单管理API
- 营销管理API
- 推广员API
- 插件管理API
- 人信云API
- 推送类接口文档
- 企微助手插件说明
获取商品列表
GET
/goods/list
最后修改时间:2025-03-27 06:12:26
请求参数
Query 参数
status
integer
可选
示例值:
1
keywords
string
可选
示例值:
手机
label_field
string
可选
示例值:
is_recommand
create_time
array[string]
创建时间
示例值:
["[\"2022-05-18 05:00:00\", \"2022-05-30 00:00:00\"]"]
create_time_start
string
可选
示例值:
2022-05-18 05:00:00
create_time_end
string
可选
示例值:
2022-05-30 00:00:00
type
integer
可选
示例值:
0
category_id
array[string]
可选
示例值:
["[1,2,3]"]
group_id
array[string]
可选
示例值:
["[1,2,3]"]
dispatch_type
integer
可选
示例值:
10
page
integer
页码
示例值:
1
pagesize
integer
获取商品列表条数
示例值:
10
sub_shop_name
string
可选
示例值:
商户名称1
sub_shop_id
string
可选
示例值:
1
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location -g --request GET '/goods/list?status=1&keywords=手机&label_field=is_recommand&create_time=["2022-05-18 05:00:00", "2022-05-30 00:00:00"]&create_time_start=2022-05-18 05:00:00&create_time_end=2022-05-30 00:00:00&type=0&category_id=[1,2,3]&group_id=[1,2,3]&dispatch_type=10&page=1&pagesize=10&sub_shop_name=商户名称1&sub_shop_id=1'
返回响应
🟢200成功
application/json
Body
error
integer
必需
total
integer
商品总数量
list
array [object {38}]
商品列表
id
string
商品ID
create_time
string
商品添加时间
title
string
商品名称
sub_title
string
商品副标题
short_title
string
可选
type
string
可选
thumb
string
商品封面图第一张
thumb_all
array[string]
所有商品封面图
video
string
首图视频
video_thumb
string
视频首图
unit
string
商品单位, 默认件
goods_code
string
商品编码
bar_code
string
商品条码
display_order
string
可选
stock
string
库存
stock_warning
string
可选
real_sales
string
实际销售量
price
string
商品价格
min_price
string
最低销售价
max_price
string
最高销售价
cost_price
string
成本价
original_price
string
商品原始价格
view_count
string
浏览量
has_option
string
可选
is_hot
string
可选
is_recommand
string
可选
is_new
string
可选
status
string
可选
reduction_type
string
可选
dispatch_type
string
可选
is_commission
string
可选
dispatch_express
string
可选
dispatch_intracity
string
可选
dispatch_verify
string
可选
weight
string
重量
sales
string
销售量
is_stock_warning
integer
可选
channel_url
object
渠道链接
page
integer
当前页
page_size
integer
每页数量
示例
{
"error": 0,
"total": 308,
"list": [
{
"id": "5556",
"create_time": "2023-02-01 11:33:22",
"title": "xxxxxxxxx",
"sub_title": "",
"short_title": "",
"type": "0",
"thumb": "https://likexin-shop.v5dev.getpkg.cn/image/25/2022/10/2dce59ddffaf2ff811694623d1b06697.jpg",
"thumb_all": [
"image/25/2022/10/2dce59ddffaf2ff811694623d1b06697.jpg",
"image/25/2022/10/8cfc4d8a3ff6d5eb6bf3e8a682471d32.jpg",
"image/25/2022/10/278faa4a03d2ed61227ac97a3fce4101.jpg",
"image/25/2022/10/2d852eb3b41ab459869672e9f15ca766.jpg",
"image/25/2022/10/8b6f183063730be495d200a2becdd57d.jpg",
"image/25/2022/10/253ee13c05181036aa8209bb7682c534.jpg",
"image/25/2022/10/897280a1013c43ae0ecfa326f1eab332.jpg"
],
"video": "https://v.qq.com/x/page/a1469oslq5t.html",
"video_thumb": "https://likexin-shop.v5dev.getpkg.cn/image/25/2022/10/cadf96854ad87039e8065416b06cec2c.jpg",
"unit": "件",
"goods_code": "",
"bar_code": "",
"display_order": "9999",
"stock": "6012000",
"stock_warning": "20",
"real_sales": "0",
"price": "0.01",
"min_price": "0.01",
"max_price": "0.01",
"cost_price": "0.00",
"original_price": "220.00",
"view_count": "73",
"has_option": "0",
"is_hot": "1",
"is_recommand": "1",
"is_new": "1",
"status": "1",
"reduction_type": "0",
"dispatch_type": "0",
"is_commission": "0",
"dispatch_express": "1",
"dispatch_intracity": "0",
"dispatch_verify": "0",
"weight": "0.00",
"sales": "0",
"is_stock_warning": 0,
"channel_url": {
"wap": "http://alone-mbw.v5dev.getpkg.cn/wap/25/pagesGoods/detail/index?goods_id=5556",
"wxapp": "/pagesGoods/detail/index.html?goods_id=5556"
}
}
],
"page": 1,
"page_size": 1
}

扫码加入 开放接口 微信交流群
在这里,获得 开放接口 使用上的任何帮助,快速上手让你的研测效率得到大幅提升

