查询商品列表
将废弃
POST
https://api.goofish.pro/sop/product/list
/sop/product/list
最后修改时间:2023-07-26 10:14:01
1:该接口只能查询最近三个月内修改过的商品
2:该接口只返回基础信息,更多信息请调用查询商品详情接口
请求参数
Query 参数
appid
string
必需
默认值:
{{appid}}
timestamp
string
必需
默认值:
{{timestamp}}
sign
string
必需
默认值:
{{sign}}
Body 参数application/json
start_modified
integer
起始的修改时间
end_modified
integer
结束的修改时间
product_status
enum<integer>
管家商品状态
枚举值:
-1102122233132
page_no
integer
页码
>= 1<= 100
默认值:
1
page_size
integer
每页行数
>= 1<= 100
默认值:
50
示例
{
"start_modified": 1645286400,
"end_modified": 1645545600,
"product_status": 22,
"page_no": 1,
"page_size": 50
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.goofish.pro/sop/product/list?appid=×tamp=&sign=' \
--header 'Content-Type: application/json' \
--data-raw '{
"start_modified": 1645286400,
"end_modified": 1645545600,
"product_status": 22,
"page_no": 1,
"page_size": 50
}'
返回响应
🟢200成功
application/json
Body
status
integer
必需
data
array [object {22}]
必需
product_id
string
闲鱼管家商品ID
item_biz_type
integer
商品类型ID
sp_biz_type
integer
商品分类ID
channel_cat_id
string
商品类目ID
original_price
integer
商品原价(分)
price
integer
商品售价(分)
stock
integer
商品库存
title
string
商品标题
district_id
integer
发货地区ID
outer_id
string
商家编码
spec_type
enum<integer>
商品规格类型
枚举值:
12
source
enum<integer>
商品来源
枚举值:
11122191
stuff_status
integer
商品成色
express_fee
integer
运费(分)
product_status
enum<integer>
管家商品状态:
枚举值:
-1102122233132
support_sdr_policy
enum<integer>
是否支持七天无理由
枚举值:
10
support_nfr_policy
enum<integer>
是否支持描述不符包邮退
枚举值:
10
online_time
integer
商品上架时间
offline_time
integer
商品下架时间
sold_time
integer
商品售罄时间
modify_time
integer
商品更新时间
create_time
integer
商品创建时间
示例
{
"status": 200,
"data": [
{
"product_id": "259601627181125",
"product_status": 22,
"item_biz_type": 2,
"sp_biz_type": 18,
"channel_cat_id": "f2b952f5a3130bbcacde29f76907b07f",
"original_price": 0,
"price": 100,
"stock": 16,
"title": "测试商品1",
"district_id": 440305,
"outer_id": "STXSCS01234",
"stuff_status": 0,
"express_fee": 0,
"spec_type": 2,
"source": 12,
"online_time": 1645515702,
"offline_time": 0,
"sold_time": 0,
"modify_time": 1645516370,
"create_time": 1645515705
},
{
"product_id": "259607688740933",
"product_status": 22,
"item_biz_type": 13,
"sp_biz_type": 17,
"channel_cat_id": "ffff91d2b7f8f648e10cfa39bf43dc0f",
"original_price": 0,
"price": 50,
"stock": 16,
"title": "测试商品2",
"district_id": 442000,
"outer_id": "LQBFXXSCS01234",
"stuff_status": 100,
"express_fee": 0,
"spec_type": 2,
"source": 12,
"online_time": 1645517183,
"offline_time": 0,
"sold_time": 0,
"modify_time": 1645525011,
"create_time": 1645517185
}
]
}
修改于 2023-07-26 10:14:01