在线选品v2(新版)
POST
/v2/GoodsStorage/NewList
请求参数
Header 参数
Content-Type
string
必需
示例值:
application/json
Body 参数application/json
page
number
页码
search_words
string
关键字搜素
limit
number
条数
source
number
可选
category_id
number
分类id
brand_ids
array[number]
品牌id
agreement_price
object
协议价(元)
from
number
区间开始
to
number
区间结束
guide_price
object
指导价(元)
from
number
区间开始
to
number
区间结束
activity_price
object
营销价(元)
from
number
区间开始
to
number
区间结束
promotion_rate
object
常规利润率
from
number
区间开始
to
number
区间结束
activity_rate
object
营销利润率
from
number
区间开始
to
number
区间结束
profits
object
利润区间
from
number
区间开始
to
number
区间结束
created_time
object
添加时间区间
from
number
添加时间开始区间
to
number
添加时间结束区间
type
string
可选
sort
string
可选
is_free_shipping
number
可选
shop_words
string
店铺id店铺名称
group_id
number
营销活动id
recommend
number
可选
goods_type
number
可选
cloud_shop_id
number
可选
示例
{
"page": 0,
"search_words": "string",
"limit": 0,
"source": 0,
"category_id": 0,
"brand_ids": [
0
],
"agreement_price": {
"from": 0,
"to": 0
},
"guide_price": {
"from": 0,
"to": 0
},
"activity_price": {
"from": 0,
"to": 0
},
"promotion_rate": {
"from": 0,
"to": 0
},
"activity_rate": {
"from": 0,
"to": 0
},
"profits": {
"from": 0,
"to": 0
},
"created_time": {
"from": 0,
"to": 0
},
"type": "string",
"sort": "string",
"is_free_shipping": 0,
"shop_words": "string",
"group_id": 0,
"recommend": 0,
"goods_type": 0,
"cloud_shop_id": 0
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST '/v2/GoodsStorage/NewList' \
--header 'Content-Type: application/json' \
--data-raw '{
"page": 0,
"search_words": "string",
"limit": 0,
"source": 0,
"category_id": 0,
"brand_ids": [
0
],
"agreement_price": {
"from": 0,
"to": 0
},
"guide_price": {
"from": 0,
"to": 0
},
"activity_price": {
"from": 0,
"to": 0
},
"promotion_rate": {
"from": 0,
"to": 0
},
"activity_rate": {
"from": 0,
"to": 0
},
"profits": {
"from": 0,
"to": 0
},
"created_time": {
"from": 0,
"to": 0
},
"type": "string",
"sort": "string",
"is_free_shipping": 0,
"shop_words": "string",
"group_id": 0,
"recommend": 0,
"goods_type": 0,
"cloud_shop_id": 0
}'
返回响应
🟢200成功
application/json
Body
id
string
可选
code
number
可选
msg
string
可选
data
object
可选
count
number
可选
list
array [object {30}]
可选
示例
{
"id": "string",
"code": 0,
"msg": "string",
"data": {
"count": 0,
"list": [
{
"third_category_name": "string",
"sale": 0,
"market_price": 0,
"activity_rate": 0,
"id": 0,
"unit": "string",
"total_stock": 0,
"activity_price": 0,
"created_time": 0,
"source": 0,
"cover": "string",
"status": 0,
"is_free_shipping": 0,
"brand_id": 0,
"agreement_price": 0,
"stock": 0,
"third_brand_name": "string",
"real_sale": 0,
"shop_id": 0,
"third_id": 0,
"updated_time": 0,
"guide_price": 0,
"sale_price": 0,
"cost_price": 0,
"origin": "string",
"title": "string",
"rate": 0,
"category_id": [
"string"
],
"min_profits": 0,
"max_profits": 0
}
]
}
}