Version: 202506
List categories
GET/openapi/2025-06/categories
List all categories in the shop
Request
Query Parameters
pid uint64
Pid of the category
ids uint64[]
ID of the categories. Example: ?ids=1001&ids=1002
Responses
- 200
OK
- application/json
- Schema
- Example
Schema
- Array [
- ]
codestring
error code
messagestring
error message
data object
categories object[]
List of categories
iduint64
The ID of the category
namestring
The name of the category
piduint64
The parent ID of the category
levelint32
The level of the category
positionint32
The position of the category
pathstring
The path of the category
google_idint32
The google ID of the category
{
"code": "string",
"message": "string",
"data": {
"categories": [
{
"id": 0,
"name": "string",
"pid": 0,
"level": 0,
"position": 0,
"path": "string",
"google_id": 0
}
]
}
}