| 参数名 | 必选 | 类型 | 说明 |
|---|
| data.page | 否 | int | 分页 |
| data.cate_id | 是 | string | 可以是分类的真实ID,也可以为hot,must,tuijian三个固定分类 |
| data.status | 否 | int | 商品状态 0全部 1售卖中 2已下架 3已售罄 |
| 参数名 | 类型 | 说明 |
|---|
| data | json | 数据内容 |
| data.items | array | 商品列表 |
| data.items.product_id | int | 商品ID |
| data.items.cate_id | int | 一级分类ID |
| data.items.cat_id | int | 二级分类ID |
| data.items.title | string | 商品标题 |
| data.items.photo | string | 商品图片 |
| data.items.price | string | 商品价格 |
| data.items.package_price | string | 打包费 |
| data.items.sale | int | 销量 |
| data.items.sale_sku | int | 库存 |
| data.items.status_label | string | 商品状态 |
| data.total_count 和 data.total | int | 总数量 |
| data.curr_page | int | 当前页 |
| data.pages | int | 总分页数 |
Request
Body Params application/x-www-form-urlencoded
Request Code Samples
curl --location '/api.php?API=biz%2Fproduct%2Fnewproduct%2Fproducts' \
--header 'Authorization: {{bearerToken}}' \
--data-urlencode 'data={"page":1,"cate_id":"hot","status":"0"}' \
--data-urlencode 'CLIENT_API=BIZ' \
--data-urlencode 'openid={{openid}}'
Responses
This response does not have a body.
Modified at 2026-06-23 02:21:38