商品列表
POST
/umall/productlist/query
适用版本:U商城
使用场景:商品列表
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location -g --request POST 'https://api.yonyouup.com/umall/productlist/query?from_account&to_account&app_key=&token=' \
--header 'Content-Type: application/json' \
--data-raw '{
"queryCondition":{
"pagesize":0,
"pageindex":1,
"where":[
{
"fieldname":"cgoodsname",
"valuefrom":"便宜车"
},
{
"fieldname":"categoryid",
"valuefrom":"782"
},
{
"fieldname":"istatus",
"valuefrom":"在库"
}
]
}
}'
响应示例响应示例
{
"errcode": "string",
"errmsg": "string",
"pid": "string",
"pName": "string",
"cClassName": "string",
"iClassID": "string",
"defaultAlbum": "string",
"iStatus": 0,
"fMarkPrice": 0,
"fSalePrice": 0,
"lInventoryCount": 0,
"iSales": 0,
"dCreateTime": null,
"currentPage": 0,
"pageNum": 0,
"totalPage": 0,
"totalCount": 0
}
请求参数
Query 参数
from_account
调用方id
to_account
提供方id
app_key
应用编码
token
必需
ds_sequence
可选
Body 参数application/json
返回响应
修改于 2021-11-15 13:06:30