商品列表
GET
/shopapi/supply_collaboration.goods/lists
宠物
请求参数
Query 参数
keyword
string
搜索商品名称
category_id
string
商品分类id
is_rpo
string
固定值:1
user_id
string
供货商绑定用户id
Header 参数
version
string
可选
默认值:
1.1.1
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://kingdeexc.51kuaiding.com/shopapi/supply_collaboration.goods/lists?keyword&category_id&is_rpo&user_id' \
--header 'version: 1.1.1'
返回响应
🟢200成功
application/json
Body
code
integer
请求状态
0-失败
show
integer
必需
msg
string
请求描述
data
object
必需
lists
array [object {11}]
必需
count
integer
必需
page_no
integer
必需
page_size
integer
必需
extend
object
必需
示例
{
"code": 0,
"show": 0,
"msg": "string",
"data": {
"lists": [
{
"id": 0,
"name": "string",
"image": "string",
"min_cost_price": "string",
"max_cost_price": "string",
"spec_type": 0,
"spec_value": [
{
"id": 0,
"goods_id": 0,
"name": "string",
"spec_list": [
{
"id": 0,
"goods_id": 0,
"spec_id": 0,
"value": "string"
}
]
}
],
"spec_value_list": [
{
"id": 0,
"image": "string",
"goods_id": 0,
"spec_value_ids": "string",
"spec_value_str": "string",
"cost_price": "string",
"stock": "string",
"volume": "string",
"weight": "string",
"bar_code": "string",
"shop_item_id": 0,
"sell_price": "string"
}
],
"sell_price": "string",
"sku_desc": "string",
"spec_id": 0
}
],
"count": 0,
"page_no": 0,
"page_size": 0,
"extend": {}
}
}