** Request parameter details: **| parameter name | required | type | description |
|---|
| data.page | no | int | paging |
| data.cate_id | yes | string | It can be the real ID of the category, or it can be the three fixed categories of hot, must, and tuijian |
| data.status | no | int | Product status 0 All 1 On sale 2 Removed 3 Sold out |
** Return parameter description **| parameter name | type | description |
|---|
| data | json | data content |
| data.items | array | product list |
| data.items.product_id | int | commodity id |
| data.items.cate_id | int | Level 1 Classification ID |
| data.items.cat_id | int | Secondary Classification ID |
| data.items.title | string | commodity titles |
| data.items.photo | string | commodity picture |
| data.items.price | string | commodity prices |
| data.items.package_price | string | packing fee |
| data.items.sale | int | sales |
| data.items.sale_sku | int | inventory |
| data.items.status_label | string | Product status |
| data.total int | | total number |
| data.curr_page | int | current page |
| data.pages | int | Total number of pages |
Request
Provide your bearer token in the Authorization
header when making requests to protected resources. Example:Authorization: Bearer ********************
or
Body Params application/x-www-form-urlencodedRequired
Request Code Samples
curl --location '/api.php?API=biz%2Fproduct%2Fnewproduct%2Fproducts' \
--header 'Authorization: Bearer <token>' \
--data-urlencode 'CLIENT_API=' \
--data-urlencode 'CLIENT_API=BIZ' \
--data-urlencode 'openid=' \
--data-urlencode 'openid={{openid}}' \
--data-urlencode 'data={"page":1,"cate_id":"hot","status":"0"}'
Responses
{
"data": {
"items": [
{
"product_id": "string",
"cate_id": "string",
"cat_id": "string",
"title": "string",
"photo": "string",
"price": "string",
"package_price": "string",
"sales": "string",
"sale_sku": "string",
"is_onsale": "string",
"unit": "string",
"is_hot": "string",
"is_must": "string",
"is_tuijian": "string",
"status_label": "string"
}
],
"total_count": "string",
"curr_page": "string",
"pages": "string",
"total": "string"
},
"error": "0",
"message": "success"
}
Modified at 2026-06-18 10:39:08